pub struct RestoreState { /* private fields */ }Expand description
Implementations§
Source§impl RestoreState
impl RestoreState
Sourcepub const fn machine_interrupts_enabled(self) -> bool
pub const fn machine_interrupts_enabled(self) -> bool
Returns true if global machine interrupts were enabled.
Sourcepub const fn machine_external_interrupt_enabled(self) -> bool
pub const fn machine_external_interrupt_enabled(self) -> bool
Returns true if machine external interrupts were enabled.
Trait Implementations§
Source§impl Clone for RestoreState
impl Clone for RestoreState
Source§fn clone(&self) -> RestoreState
fn clone(&self) -> RestoreState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RestoreState
Source§impl Debug for RestoreState
impl Debug for RestoreState
impl Eq for RestoreState
Source§impl PartialEq for RestoreState
impl PartialEq for RestoreState
Source§fn eq(&self, other: &RestoreState) -> bool
fn eq(&self, other: &RestoreState) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RestoreState
Auto Trait Implementations§
impl Freeze for RestoreState
impl RefUnwindSafe for RestoreState
impl Send for RestoreState
impl Sync for RestoreState
impl Unpin for RestoreState
impl UnsafeUnpin for RestoreState
impl UnwindSafe for RestoreState
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