pub struct PROCESSOR {
__private_field: (),
}
Fields§
§__private_field: ()
Methods from Deref<Target = UPSafeCell<Processor>>§
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 PROCESSOR
impl Deref for PROCESSOR
§type Target = UPSafeCell<Processor>
type Target = UPSafeCell<Processor>
The resulting type after dereferencing.
source§fn deref(&self) -> &UPSafeCell<Processor>
fn deref(&self) -> &UPSafeCell<Processor>
Dereferences the value.
impl LazyStatic for PROCESSOR
Auto Trait Implementations§
impl Freeze for PROCESSOR
impl RefUnwindSafe for PROCESSOR
impl Send for PROCESSOR
impl Sync for PROCESSOR
impl Unpin for PROCESSOR
impl UnwindSafe for PROCESSOR
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