pub struct HirThermalArm {
pub id: HirId,
pub state: Symbol,
pub body: Expr,
}Expand description
Thermal adaptation arm
Fields§
§id: HirId§state: SymbolThermal state name: Cool, Nominal, Elevated, Hot, Critical
body: ExprTrait Implementations§
Source§impl Clone for HirThermalArm
impl Clone for HirThermalArm
Source§fn clone(&self) -> HirThermalArm
fn clone(&self) -> HirThermalArm
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 moreAuto Trait Implementations§
impl Freeze for HirThermalArm
impl RefUnwindSafe for HirThermalArm
impl Send for HirThermalArm
impl Sync for HirThermalArm
impl Unpin for HirThermalArm
impl UnwindSafe for HirThermalArm
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