pub enum BadgeVariant {
Primary,
Secondary,
Outline,
Destructive,
}Expand description
How loud a badge is.
Variants§
Primary
A tint of the primary color.
Secondary
A gray tint.
Outline
A border and no fill.
Destructive
A tint of the destructive color.
Trait Implementations§
Source§impl Clone for BadgeVariant
impl Clone for BadgeVariant
impl Copy for BadgeVariant
Source§impl Debug for BadgeVariant
impl Debug for BadgeVariant
Source§impl Default for BadgeVariant
impl Default for BadgeVariant
impl Eq for BadgeVariant
Source§impl PartialEq for BadgeVariant
impl PartialEq for BadgeVariant
impl StructuralPartialEq for BadgeVariant
Auto Trait Implementations§
impl Freeze for BadgeVariant
impl RefUnwindSafe for BadgeVariant
impl Send for BadgeVariant
impl Sync for BadgeVariant
impl Unpin for BadgeVariant
impl UnsafeUnpin for BadgeVariant
impl UnwindSafe for BadgeVariant
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.