pub enum LSM6DSOXGyroDataRate {
LSMDSOX_GYRO_RATE_SHUTDOWN = 0,
LSM6DSOX_GYRO_RATE_12_5_HZ = 1,
LSM6DSOX_GYRO_RATE_26_HZ = 2,
LSM6DSOX_GYRO_RATE_52_HZ = 3,
LSM6DSOX_GYRO_RATE_104_HZ = 4,
LSM6DSOX_GYRO_RATE_208_HZ = 5,
LSM6DSOX_GYRO_RATE_416_HZ = 6,
LSM6DSOX_GYRO_RATE_833_HZ = 7,
LSM6DSOX_GYRO_RATE_1_66k_HZ = 8,
LSM6DSOX_GYRO_RATE_3_33K_HZ = 9,
LSM6DSOX_GYRO_RATE_6_66K_HZ = 10,
}Variants§
LSMDSOX_GYRO_RATE_SHUTDOWN = 0
LSM6DSOX_GYRO_RATE_12_5_HZ = 1
LSM6DSOX_GYRO_RATE_26_HZ = 2
LSM6DSOX_GYRO_RATE_52_HZ = 3
LSM6DSOX_GYRO_RATE_104_HZ = 4
LSM6DSOX_GYRO_RATE_208_HZ = 5
LSM6DSOX_GYRO_RATE_416_HZ = 6
LSM6DSOX_GYRO_RATE_833_HZ = 7
LSM6DSOX_GYRO_RATE_1_66k_HZ = 8
LSM6DSOX_GYRO_RATE_3_33K_HZ = 9
LSM6DSOX_GYRO_RATE_6_66K_HZ = 10
Trait Implementations§
Source§impl Clone for LSM6DSOXGyroDataRate
impl Clone for LSM6DSOXGyroDataRate
Source§fn clone(&self) -> LSM6DSOXGyroDataRate
fn clone(&self) -> LSM6DSOXGyroDataRate
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 LSM6DSOXGyroDataRate
impl FromPrimitive for LSM6DSOXGyroDataRate
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 LSM6DSOXGyroDataRate
impl PartialEq for LSM6DSOXGyroDataRate
impl Copy for LSM6DSOXGyroDataRate
impl StructuralPartialEq for LSM6DSOXGyroDataRate
Auto Trait Implementations§
impl Freeze for LSM6DSOXGyroDataRate
impl RefUnwindSafe for LSM6DSOXGyroDataRate
impl Send for LSM6DSOXGyroDataRate
impl Sync for LSM6DSOXGyroDataRate
impl Unpin for LSM6DSOXGyroDataRate
impl UnwindSafe for LSM6DSOXGyroDataRate
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