pub struct PT {
pub temperature: DeciCelcius,
pub pressure: Pascal,
}Expand description
Result of the BMP085 sensor read-out
Fields§
§temperature: DeciCelciusTemperature in deci degree Celsius, e.g. 241 for 24.1 ℃
pressure: PascalPressure 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 Freeze for PT
impl RefUnwindSafe for PT
impl Send for PT
impl Sync for PT
impl Unpin for PT
impl UnwindSafe for PT
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