pub struct ContinuousConfig {
pub average: Average,
pub conversion: Conversion,
pub high: Option<f32>,
pub low: Option<f32>,
pub offset: Option<f32>,
}Expand description
The continuous config
Fields§
§average: AverageThe average used, will use the one stored in the register if None
conversion: ConversionThe convesion used, will use the one stored in the register if None
high: Option<f32>The high alert used, will use the one stored in the register if None
low: Option<f32>The low alert used, will use the one stored in the register if None
offset: Option<f32>The temperature offset used, will use 0 if None
Trait Implementations§
Source§impl Default for ContinuousConfig
impl Default for ContinuousConfig
Source§fn default() -> ContinuousConfig
fn default() -> ContinuousConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ContinuousConfig
impl RefUnwindSafe for ContinuousConfig
impl Send for ContinuousConfig
impl Sync for ContinuousConfig
impl Unpin for ContinuousConfig
impl UnwindSafe for ContinuousConfig
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