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>
Exclusive access inner data in UPSafeCell. Panic if the data has been borrowed.
Trait Implementations§
Source§impl Deref for FRAME_ALLOCATOR
impl Deref for FRAME_ALLOCATOR
Source§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