Struct follow_heating::brain::modes::HeatingState
source · pub struct HeatingState(bool);
Expand description
Whether the wiser is calling for space heating Makes code more understandable and implements display.
Tuple Fields§
§0: bool
Implementations§
source§impl HeatingState
impl HeatingState
sourcepub const OFF: HeatingState = _
pub const OFF: HeatingState = _
A state representing the wiser NOT calling for space heating
sourcepub const ON: HeatingState = _
pub const ON: HeatingState = _
A state representing the wiser calling for space heating
Trait Implementations§
source§impl Clone for HeatingState
impl Clone for HeatingState
source§fn clone(&self) -> HeatingState
fn clone(&self) -> HeatingState
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 HeatingState
impl Debug for HeatingState
source§impl Display for HeatingState
impl Display for HeatingState
source§impl PartialEq for HeatingState
impl PartialEq for HeatingState
source§fn eq(&self, other: &HeatingState) -> bool
fn eq(&self, other: &HeatingState) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for HeatingState
impl StructuralPartialEq for HeatingState
Auto Trait Implementations§
impl RefUnwindSafe for HeatingState
impl Send for HeatingState
impl Sync for HeatingState
impl Unpin for HeatingState
impl UnwindSafe for HeatingState
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