Struct follow_heating::brain::python_like::FallbackWorkingRange
source · pub struct FallbackWorkingRange {
previous: Option<(WorkingTemperatureRange, Instant)>,
default: WorkingTemperatureRange,
}
Fields§
§previous: Option<(WorkingTemperatureRange, Instant)>
§default: WorkingTemperatureRange
Implementations§
source§impl FallbackWorkingRange
impl FallbackWorkingRange
pub fn new(default: WorkingTemperatureRange) -> Self
pub fn get_fallback(&self) -> &WorkingTemperatureRange
pub fn update(&mut self, range: WorkingTemperatureRange)
Auto Trait Implementations§
impl RefUnwindSafe for FallbackWorkingRange
impl Send for FallbackWorkingRange
impl Sync for FallbackWorkingRange
impl Unpin for FallbackWorkingRange
impl UnwindSafe for FallbackWorkingRange
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