Struct follow_heating::brain::modes::working_temp::WorkingRange
source · pub struct WorkingRange {
temp_range: WorkingTemperatureRange,
room: Option<Room>,
}
Fields§
§temp_range: WorkingTemperatureRange
§room: Option<Room>
Implementations§
source§impl WorkingRange
impl WorkingRange
pub fn from_wiser(temp_range: WorkingTemperatureRange, room: Room) -> Self
pub fn from_temp_only(temp_range: WorkingTemperatureRange) -> Self
pub fn get_min(&self) -> f32
pub fn get_max(&self) -> f32
pub fn get_temperature_range(&self) -> &WorkingTemperatureRange
pub fn get_room(&self) -> Option<&Room>
Trait Implementations§
source§impl Clone for WorkingRange
impl Clone for WorkingRange
source§fn clone(&self) -> WorkingRange
fn clone(&self) -> WorkingRange
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl RefUnwindSafe for WorkingRange
impl Send for WorkingRange
impl Sync for WorkingRange
impl Unpin for WorkingRange
impl UnwindSafe for WorkingRange
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