pub enum Adxl345OutputDataRate {
Hz6_25,
Hz12_5,
Hz25,
Hz50,
Hz100,
Hz200,
Hz400,
Hz800,
Hz1600,
Hz3200,
}Expand description
ADXL345 supported output data rates.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for Adxl345OutputDataRate
impl Clone for Adxl345OutputDataRate
Source§fn clone(&self) -> Adxl345OutputDataRate
fn clone(&self) -> Adxl345OutputDataRate
Returns a duplicate 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 Debug for Adxl345OutputDataRate
impl Debug for Adxl345OutputDataRate
Source§impl Default for Adxl345OutputDataRate
impl Default for Adxl345OutputDataRate
Source§fn default() -> Adxl345OutputDataRate
fn default() -> Adxl345OutputDataRate
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for Adxl345OutputDataRate
impl<'de> Deserialize<'de> for Adxl345OutputDataRate
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for Adxl345OutputDataRate
impl PartialEq for Adxl345OutputDataRate
impl Copy for Adxl345OutputDataRate
impl Eq for Adxl345OutputDataRate
impl StructuralPartialEq for Adxl345OutputDataRate
Auto Trait Implementations§
impl Freeze for Adxl345OutputDataRate
impl RefUnwindSafe for Adxl345OutputDataRate
impl Send for Adxl345OutputDataRate
impl Sync for Adxl345OutputDataRate
impl Unpin for Adxl345OutputDataRate
impl UnwindSafe for Adxl345OutputDataRate
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