[][src]Struct lsm303c::Measurements

pub struct Measurements<T> {
    pub accel: T,
    pub mag: T,
    pub temp: f32,
}

Measurements scaled with respective scales and converted to appropriate units.

Fields

accel: T

Accelerometer measurements (g)

mag: T

Magnetometer measurements (ga, gausses)

temp: f32

Temperature sensor measurement (C)

Trait Implementations

impl<T: Debug> Debug for Measurements<T>[src]

impl<T: Copy> Copy for Measurements<T>[src]

impl<T: Clone> Clone for Measurements<T>[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl<T> Unpin for Measurements<T> where
    T: Unpin

impl<T> Sync for Measurements<T> where
    T: Sync

impl<T> Send for Measurements<T> where
    T: Send

Blanket Implementations

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]