pub enum Lsm303AccelDataRate {
Off = 0,
DataRate1Hz = 1,
DataRate10Hz = 2,
DataRate25Hz = 3,
DataRate50Hz = 4,
DataRate100Hz = 5,
DataRate200Hz = 6,
DataRate400Hz = 7,
LowPower1620Hz = 8,
Normal1344LowPower5376Hz = 9,
}Variants§
Off = 0
DataRate1Hz = 1
DataRate10Hz = 2
DataRate25Hz = 3
DataRate50Hz = 4
DataRate100Hz = 5
DataRate200Hz = 6
DataRate400Hz = 7
LowPower1620Hz = 8
Normal1344LowPower5376Hz = 9
Trait Implementations§
Source§impl Clone for Lsm303AccelDataRate
impl Clone for Lsm303AccelDataRate
Source§fn clone(&self) -> Lsm303AccelDataRate
fn clone(&self) -> Lsm303AccelDataRate
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl FromPrimitive for Lsm303AccelDataRate
impl FromPrimitive for Lsm303AccelDataRate
Source§fn from_i64(n: i64) -> Option<Self>
fn from_i64(n: i64) -> Option<Self>
Convert an
i64 to return an optional value of this type. If the
type cannot be represented by this value, then None is returned.Source§fn from_u64(n: u64) -> Option<Self>
fn from_u64(n: u64) -> Option<Self>
Convert an
u64 to return an optional value of this type. If the
type cannot be represented by this value, then None is returned.Source§fn from_isize(n: isize) -> Option<Self>
fn from_isize(n: isize) -> Option<Self>
Convert an
isize to return an optional value of this type. If the
value cannot be represented by this value, then None is returned.Source§fn from_i8(n: i8) -> Option<Self>
fn from_i8(n: i8) -> Option<Self>
Convert an
i8 to return an optional value of this type. If the
type cannot be represented by this value, then None is returned.Source§fn from_i16(n: i16) -> Option<Self>
fn from_i16(n: i16) -> Option<Self>
Convert an
i16 to return an optional value of this type. If the
type cannot be represented by this value, then None is returned.Source§fn from_i32(n: i32) -> Option<Self>
fn from_i32(n: i32) -> Option<Self>
Convert an
i32 to return an optional value of this type. If the
type cannot be represented by this value, then None is returned.Source§fn from_usize(n: usize) -> Option<Self>
fn from_usize(n: usize) -> Option<Self>
Convert a
usize to return an optional value of this type. If the
type cannot be represented by this value, then None is returned.Source§fn from_u8(n: u8) -> Option<Self>
fn from_u8(n: u8) -> Option<Self>
Convert an
u8 to return an optional value of this type. If the
type cannot be represented by this value, then None is returned.Source§impl PartialEq for Lsm303AccelDataRate
impl PartialEq for Lsm303AccelDataRate
impl Copy for Lsm303AccelDataRate
impl StructuralPartialEq for Lsm303AccelDataRate
Auto Trait Implementations§
impl Freeze for Lsm303AccelDataRate
impl RefUnwindSafe for Lsm303AccelDataRate
impl Send for Lsm303AccelDataRate
impl Sync for Lsm303AccelDataRate
impl Unpin for Lsm303AccelDataRate
impl UnwindSafe for Lsm303AccelDataRate
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