pub enum Adxl345Channel {
X,
Y,
Z,
}Expand description
ADXL345-supported signal channels.
Variants§
X
Acceleration along X axis in m/s².
Y
Acceleration along Y axis in m/s².
Z
Acceleration along Z axis in m/s².
Trait Implementations§
Source§impl Clone for Adxl345Channel
impl Clone for Adxl345Channel
Source§fn clone(&self) -> Adxl345Channel
fn clone(&self) -> Adxl345Channel
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 Adxl345Channel
impl Debug for Adxl345Channel
Source§impl<'de> Deserialize<'de> for Adxl345Channel
impl<'de> Deserialize<'de> for Adxl345Channel
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 Hash for Adxl345Channel
impl Hash for Adxl345Channel
Source§impl PartialEq for Adxl345Channel
impl PartialEq for Adxl345Channel
impl Copy for Adxl345Channel
impl Eq for Adxl345Channel
impl StructuralPartialEq for Adxl345Channel
Auto Trait Implementations§
impl Freeze for Adxl345Channel
impl RefUnwindSafe for Adxl345Channel
impl Send for Adxl345Channel
impl Sync for Adxl345Channel
impl Unpin for Adxl345Channel
impl UnwindSafe for Adxl345Channel
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