pub enum AccelMode {
PowerDown,
LowPower,
Normal,
HighResolution,
}
Expand description
Accelerometer mode
Variants§
PowerDown
Power down
LowPower
Low power (8-bit)
Normal
Normal mode (10-bit)
HighResolution
High resolution (12-bit)
Trait Implementations§
source§impl PartialEq for AccelMode
impl PartialEq for AccelMode
impl Copy for AccelMode
impl StructuralPartialEq for AccelMode
Auto Trait Implementations§
impl RefUnwindSafe for AccelMode
impl Send for AccelMode
impl Sync for AccelMode
impl Unpin for AccelMode
impl UnwindSafe for AccelMode
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