pub enum Tint {
Accent,
Neutral,
Positive,
Warning,
Danger,
}Expand description
A semantic tint hint. Frontends map to theme-adaptive colours.
Variants§
Trait Implementations§
impl Copy for Tint
impl Eq for Tint
impl StructuralPartialEq for Tint
Auto Trait Implementations§
impl Freeze for Tint
impl RefUnwindSafe for Tint
impl Send for Tint
impl Sync for Tint
impl Unpin for Tint
impl UnsafeUnpin for Tint
impl UnwindSafe for Tint
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