pub struct Heat(pub u8);Expand description
A step of the measure ramp: how much of something there is, as a band.
Distinct from Tone: a tone says what a thing means (a warning, a
success), a heat says how much (entropy, a value, a ratio). The bands
are a neutral ramp the theme colours; the app decides where the cuts fall,
since “how much” is app domain. A heat is never a status: the loudest band
is not a warning and the quietest is not a success, any more than a long
bar is.
Carried as a background on text and cells, the one emphasis a value earns without a claim about what to do about it.
Tuple Fields§
§0: u8Trait Implementations§
impl Copy for Heat
impl Eq for Heat
impl StructuralPartialEq for Heat
Auto Trait Implementations§
impl Forget for Heat
impl Freeze for Heat
impl Move for Heat
impl RefUnwindSafe for Heat
impl Send for Heat
impl Sync for Heat
impl Unpin for Heat
impl UnsafeUnpin for Heat
impl UnwindSafe for Heat
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