Enum mma8x5x::SystemMode
source · [−]pub enum SystemMode {
Standby,
Wake,
Sleep,
}
Expand description
Current system mode
Variants
Standby
Standby mode
Wake
Wake mode
Sleep
Sleep mode
Trait Implementations
sourceimpl Clone for SystemMode
impl Clone for SystemMode
sourcefn clone(&self) -> SystemMode
fn clone(&self) -> SystemMode
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for SystemMode
impl Debug for SystemMode
sourceimpl PartialEq<SystemMode> for SystemMode
impl PartialEq<SystemMode> for SystemMode
sourcefn eq(&self, other: &SystemMode) -> bool
fn eq(&self, other: &SystemMode) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl Copy for SystemMode
impl Eq for SystemMode
impl StructuralEq for SystemMode
impl StructuralPartialEq for SystemMode
Auto Trait Implementations
impl RefUnwindSafe for SystemMode
impl Send for SystemMode
impl Sync for SystemMode
impl Unpin for SystemMode
impl UnwindSafe for SystemMode
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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