Struct bme680::FieldData [−][src]
#[repr(C)]pub struct FieldData { /* fields omitted */ }
Contains read sensors values e.g. temperature, pressure, humidity etc.
Implementations
impl FieldData
[src]
impl FieldData
[src]pub fn temperature_celsius(&self) -> f32
[src]
pub fn temperature_celsius(&self) -> f32
[src]Temperature in degree celsius (°C)
pub fn pressure_hpa(&self) -> f32
[src]
pub fn pressure_hpa(&self) -> f32
[src]Pressure in hectopascal (hPA)
pub fn humidity_percent(&self) -> f32
[src]
pub fn humidity_percent(&self) -> f32
[src]Humidity in % relative humidity
pub fn gas_resistance_ohm(&self) -> u32
[src]
pub fn heat_stable(&self) -> bool
[src]
pub fn heat_stable(&self) -> bool
[src]Whether the heater target temperature for the gas reading was reached.
If this values is false
, the heating duration was likely too short or
the target temperature too high.
Trait Implementations
impl Copy for FieldData
[src]
Auto Trait Implementations
impl RefUnwindSafe for FieldData
impl Send for FieldData
impl Sync for FieldData
impl Unpin for FieldData
impl UnwindSafe for FieldData
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more