pub struct ThermalArm {
pub state: Ident,
pub body: Expr,
pub span: Span,
}Expand description
Thermal adaptation arm
Fields§
§state: IdentThermal state: Cool, Nominal, Elevated, Hot, Critical
body: ExprCode to execute at this thermal level
span: SpanTrait Implementations§
Source§impl Clone for ThermalArm
impl Clone for ThermalArm
Source§fn clone(&self) -> ThermalArm
fn clone(&self) -> ThermalArm
Returns a duplicate 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 ThermalArm
impl Debug for ThermalArm
Source§impl PartialEq for ThermalArm
impl PartialEq for ThermalArm
impl StructuralPartialEq for ThermalArm
Auto Trait Implementations§
impl Freeze for ThermalArm
impl RefUnwindSafe for ThermalArm
impl Send for ThermalArm
impl Sync for ThermalArm
impl Unpin for ThermalArm
impl UnwindSafe for ThermalArm
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