pub struct PID_ALLOCATOR {
__private_field: (),
}
Fields§
§__private_field: ()
Methods from Deref<Target = UPSafeCell<PidAllocator>>§
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 PID_ALLOCATOR
impl Deref for PID_ALLOCATOR
Source§type Target = UPSafeCell<PidAllocator>
type Target = UPSafeCell<PidAllocator>
The resulting type after dereferencing.
Source§fn deref(&self) -> &UPSafeCell<PidAllocator>
fn deref(&self) -> &UPSafeCell<PidAllocator>
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