pub enum Tone {
Good,
Warning,
Bad,
Neutral,
Info,
}Expand description
How a status reads, from the five the bundle draws.
A repository says which of these a status is and never what colour it takes: the colours differ between the two themes, and they are chosen for contrast against the page and against a card, which is a decision that has to be made once in the bundle rather than in every repository.
Variants§
Good
What was hoped for: a revision asked for, an acceptance.
Warning
Worth watching: something out with someone else, something waiting.
Bad
What wants doing: idle, refused, overdue.
Neutral
A fact about the thing that is neither good nor bad. A card whose statuses are all neutral reads quieter than the rest.
Info
Something to know rather than something to act on.
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