struct PID_ALLOCATOR {
__private_field: (),
}
Expand description
Pid allocator instance through lazy_static!
Fields
__private_field: ()
Methods from Deref<Target = UPSafeCell<PidAllocator>>
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 PID_ALLOCATOR
impl Deref for PID_ALLOCATOR
type Target = UPSafeCell<PidAllocator>
type Target = UPSafeCell<PidAllocator>
The resulting type after dereferencing.
sourcefn deref(&self) -> &UPSafeCell<PidAllocator>
fn deref(&self) -> &UPSafeCell<PidAllocator>
Dereferences the value.
impl LazyStatic for PID_ALLOCATOR
Auto Trait Implementations
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more