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
sourceimpl Deref for PROCESSOR
impl Deref for PROCESSOR
type Target = UPSafeCell<Processor>
type Target = UPSafeCell<Processor>
The resulting type after dereferencing.
sourcefn deref(&self) -> &UPSafeCell<Processor>
fn deref(&self) -> &UPSafeCell<Processor>
Dereferences the value.
impl LazyStatic for PROCESSOR
Auto Trait Implementations
impl RefUnwindSafe for PROCESSOR
impl Send for PROCESSOR
impl Sync for PROCESSOR
impl Unpin for PROCESSOR
impl UnwindSafe for PROCESSOR
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