Struct os::mm::frame_allocator::FRAME_ALLOCATOR
source · pub struct FRAME_ALLOCATOR {
__private_field: (),
}
Expand description
frame allocator instance through lazy_static!
Fields§
§__private_field: ()
Methods from Deref<Target = UPSafeCell<StackFrameAllocator>>§
sourcepub fn exclusive_access(&self) -> RefMut<'_, T>
pub fn exclusive_access(&self) -> RefMut<'_, T>
Panic if the data has been borrowed.
Trait Implementations§
source§impl Deref for FRAME_ALLOCATOR
impl Deref for FRAME_ALLOCATOR
§type Target = UPSafeCell<StackFrameAllocator>
type Target = UPSafeCell<StackFrameAllocator>
The resulting type after dereferencing.
source§fn deref(&self) -> &UPSafeCell<StackFrameAllocator>
fn deref(&self) -> &UPSafeCell<StackFrameAllocator>
Dereferences the value.
impl LazyStatic for FRAME_ALLOCATOR
Auto Trait Implementations§
impl Freeze for FRAME_ALLOCATOR
impl RefUnwindSafe for FRAME_ALLOCATOR
impl Send for FRAME_ALLOCATOR
impl Sync for FRAME_ALLOCATOR
impl Unpin for FRAME_ALLOCATOR
impl UnwindSafe for FRAME_ALLOCATOR
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more