pub struct GasConfig { /* private fields */ }Expand description
Used to enable gas measurement. 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
pub fn heater_duration(&self) -> Duration
Trait Implementations§
impl Eq for GasConfig
impl StructuralPartialEq for GasConfig
Auto Trait Implementations§
impl Freeze for GasConfig
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