[][src]Struct bmp085_driver::PT

pub struct PT {
    pub temperature: DeciCelcius,
    pub pressure: Pascal,
}

Result of the BMP085 sensor read-out

Fields

temperature: DeciCelcius

Temperature in deci degree Celsius, e.g. 241 for 24.1 ℃

pressure: Pascal

Pressure in Pascal relative to the location of the sensor. Note that meteorological pressures are given relative to normal null sea level in order to be location independent and comparable. The function pressure_to_normal_null can be used to convert the location pressure to normal null.

Auto Trait Implementations

impl Send for PT

impl Sync for PT

Blanket Implementations

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> From for T
[src]

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

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

impl<T> Same for T

type Output = T

Should always be Self