pub enum InlineTone {
Neutral,
Accent,
Success,
Warning,
Danger,
Current,
}Expand description
Semantic tone for list badges, values, and modal status strips.
Renderers map each tone onto theme styles; callers pick the tone, never a raw color, so every surface stays theme-consistent and WCAG-checked.
Variants§
Neutral
Accent
Success
Warning
Danger
Current
Live/current selection marker (the active model, the current value).
Trait Implementations§
Source§impl Clone for InlineTone
impl Clone for InlineTone
impl Copy for InlineTone
Source§impl Debug for InlineTone
impl Debug for InlineTone
Source§impl Default for InlineTone
impl Default for InlineTone
impl Eq for InlineTone
Source§impl PartialEq for InlineTone
impl PartialEq for InlineTone
impl StructuralPartialEq for InlineTone
Auto Trait Implementations§
impl Freeze for InlineTone
impl RefUnwindSafe for InlineTone
impl Send for InlineTone
impl Sync for InlineTone
impl Unpin for InlineTone
impl UnsafeUnpin for InlineTone
impl UnwindSafe for InlineTone
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.