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