pub enum Comfort {
NoDiscomfort,
SomeDiscomfort,
GreatDiscomfort,
Dangerous,
HeatStrokeImminent,
}Expand description
The relative human body comfort corresponding to a heat index.
Variants§
NoDiscomfort
No discomfort: heat index below 30°C.
SomeDiscomfort
Some discomfort: heat index between 30°C and 40°C.
GreatDiscomfort
Great discomfort: heat index between 40°C and 45°C.
Dangerous
Dangerous: heat index between 45°C and 54°C.
HeatStrokeImminent
Heat stroke immiment: heat index above 54°C.
Trait Implementations§
impl Copy for Comfort
impl Eq for Comfort
impl StructuralPartialEq for Comfort
Auto Trait Implementations§
impl Freeze for Comfort
impl RefUnwindSafe for Comfort
impl Send for Comfort
impl Sync for Comfort
impl Unpin for Comfort
impl UnsafeUnpin for Comfort
impl UnwindSafe for Comfort
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