pub enum Tone {
Normal,
Dim,
Accent,
Warning,
Critical,
Good,
}Expand description
The role of a piece of text. The theme decides the color.
Variants§
Normal
Dim
Secondary information.
Accent
The thing to notice: today in a calendar, the active workspace.
Warning
Critical
Good
Healthy, or gaining: a charging battery.
Trait Implementations§
impl Copy for Tone
impl Eq for Tone
impl StructuralPartialEq for Tone
Auto Trait Implementations§
impl Freeze for Tone
impl RefUnwindSafe for Tone
impl Send for Tone
impl Sync for Tone
impl Unpin for Tone
impl UnsafeUnpin for Tone
impl UnwindSafe for Tone
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