Struct kernel::mem::frame_allocator::FRAME_ALLOCATOR
source · pub struct FRAME_ALLOCATOR {
__private_field: (),
}
Fields§
§__private_field: ()
Methods from Deref<Target = Mutex<StackFrameAllocator>>§
sourcepub fn lock(&self) -> MutexGuard<'_, T>
pub fn lock(&self) -> MutexGuard<'_, T>
Acquires a lock on the Mutex
and returns a MutexGuard that provides exclusive access to
the shared resource.
Trait Implementations§
source§impl Deref for FRAME_ALLOCATOR
impl Deref for FRAME_ALLOCATOR
§type Target = Mutex<StackFrameAllocator>
type Target = Mutex<StackFrameAllocator>
The resulting type after dereferencing.
source§fn deref(&self) -> &Mutex<StackFrameAllocator>
fn deref(&self) -> &Mutex<StackFrameAllocator>
Dereferences the value.