Struct os::task::id::PID_ALLOCATOR
source · struct PID_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§
source§impl Deref for PID_ALLOCATOR
impl Deref for PID_ALLOCATOR
§type Target = UPSafeCell<RecycleAllocator>
type Target = UPSafeCell<RecycleAllocator>
The resulting type after dereferencing.
source§fn deref(&self) -> &UPSafeCell<RecycleAllocator>
fn deref(&self) -> &UPSafeCell<RecycleAllocator>
Dereferences the value.
impl LazyStatic for PID_ALLOCATOR
Auto Trait Implementations§
impl Freeze for PID_ALLOCATOR
impl RefUnwindSafe for PID_ALLOCATOR
impl Send for PID_ALLOCATOR
impl Sync for PID_ALLOCATOR
impl Unpin for PID_ALLOCATOR
impl UnwindSafe for PID_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