Struct bosch_bme680::GasConfig
source · pub struct GasConfig { /* private fields */ }Expand description
Used to enable gas measurment. Default values are 150ms heater duration and 300°C heater target temperature
Implementations§
source§impl GasConfig
impl GasConfig
pub fn calc_gas_wait(&self) -> u8
pub fn calc_res_heat( &self, calibration_data: &CalibrationData, ambient_temperature: i32 ) -> u8
Trait Implementations§
source§impl PartialEq for GasConfig
impl PartialEq for GasConfig
impl Eq for GasConfig
impl StructuralPartialEq for GasConfig
Auto Trait Implementations§
impl RefUnwindSafe for GasConfig
impl Send for GasConfig
impl Sync for GasConfig
impl Unpin for GasConfig
impl UnwindSafe for GasConfig
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