Struct follow_heating::brain::modes::working_temp::WorkingTemperatureRange
source · pub struct WorkingTemperatureRange {
max: f32,
min: f32,
}
Fields§
§max: f32
§min: f32
Implementations§
source§impl WorkingTemperatureRange
impl WorkingTemperatureRange
pub fn from_delta(max: f32, delta: f32) -> Self
pub fn from_min_max(min: f32, max: f32) -> Self
Trait Implementations§
source§impl Clone for WorkingTemperatureRange
impl Clone for WorkingTemperatureRange
source§fn clone(&self) -> WorkingTemperatureRange
fn clone(&self) -> WorkingTemperatureRange
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 moresource§impl Debug for WorkingTemperatureRange
impl Debug for WorkingTemperatureRange
source§impl<'de> Deserialize<'de> for WorkingTemperatureRange
impl<'de> Deserialize<'de> for WorkingTemperatureRange
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for WorkingTemperatureRange
impl Display for WorkingTemperatureRange
source§impl PartialEq for WorkingTemperatureRange
impl PartialEq for WorkingTemperatureRange
source§fn eq(&self, other: &WorkingTemperatureRange) -> bool
fn eq(&self, other: &WorkingTemperatureRange) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for WorkingTemperatureRange
Auto Trait Implementations§
impl RefUnwindSafe for WorkingTemperatureRange
impl Send for WorkingTemperatureRange
impl Sync for WorkingTemperatureRange
impl Unpin for WorkingTemperatureRange
impl UnwindSafe for WorkingTemperatureRange
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