struct KSTACK_ALLOCATOR {
__private_field: (),
}
Fields
__private_field: ()
Methods from Deref<Target = UPSafeCell<RecycleAllocator>>
sourcepub fn exclusive_access(&self) -> RefMut<'_, T>
pub fn exclusive_access(&self) -> RefMut<'_, T>
Panic if the data has been borrowed.
Trait Implementations
sourceimpl Deref for KSTACK_ALLOCATOR
impl Deref for KSTACK_ALLOCATOR
type Target = UPSafeCell<RecycleAllocator>
type Target = UPSafeCell<RecycleAllocator>
The resulting type after dereferencing.
sourcefn deref(&self) -> &UPSafeCell<RecycleAllocator>
fn deref(&self) -> &UPSafeCell<RecycleAllocator>
Dereferences the value.
impl LazyStatic for KSTACK_ALLOCATOR
Auto Trait Implementations
impl RefUnwindSafe for KSTACK_ALLOCATOR
impl Send for KSTACK_ALLOCATOR
impl Sync for KSTACK_ALLOCATOR
impl Unpin for KSTACK_ALLOCATOR
impl UnwindSafe for KSTACK_ALLOCATOR
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more