Enum mma8x5x::AutoSleepDataRate
source · [−]pub enum AutoSleepDataRate {
Hz50,
Hz12_5,
Hz6_25,
Hz1_56,
}
Expand description
Sampling rate used in auto-sleep/wake mode
Variants
Hz50
50 Hz (default)
Hz12_5
12.5 Hz
Hz6_25
6.25 Hz
Hz1_56
1.56 Hz
Trait Implementations
sourceimpl Clone for AutoSleepDataRate
impl Clone for AutoSleepDataRate
sourcefn clone(&self) -> AutoSleepDataRate
fn clone(&self) -> AutoSleepDataRate
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 AutoSleepDataRate
impl Debug for AutoSleepDataRate
sourceimpl PartialEq<AutoSleepDataRate> for AutoSleepDataRate
impl PartialEq<AutoSleepDataRate> for AutoSleepDataRate
sourcefn eq(&self, other: &AutoSleepDataRate) -> bool
fn eq(&self, other: &AutoSleepDataRate) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl Copy for AutoSleepDataRate
impl Eq for AutoSleepDataRate
impl StructuralEq for AutoSleepDataRate
impl StructuralPartialEq for AutoSleepDataRate
Auto Trait Implementations
impl RefUnwindSafe for AutoSleepDataRate
impl Send for AutoSleepDataRate
impl Sync for AutoSleepDataRate
impl Unpin for AutoSleepDataRate
impl UnwindSafe for AutoSleepDataRate
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