pub enum ThemeColorKey {
Show 20 variants
Background,
Foreground,
Card,
CardForeground,
Popover,
PopoverForeground,
Primary,
PrimaryForeground,
Secondary,
SecondaryForeground,
Muted,
MutedForeground,
Accent,
AccentForeground,
Destructive,
DestructiveForeground,
Border,
Input,
Ring,
RingOffsetBackground,
}Variants§
Background
Foreground
Card
CardForeground
Popover
PopoverForeground
Primary
PrimaryForeground
Secondary
SecondaryForeground
Muted
MutedForeground
Accent
AccentForeground
Destructive
DestructiveForeground
Border
Input
Ring
RingOffsetBackground
Implementations§
Source§impl ThemeColorKey
impl ThemeColorKey
pub const ALL: &'static [ThemeColorKey]
pub const fn canonical_name(self) -> &'static str
pub fn from_canonical_name(name: &str) -> Option<Self>
Trait Implementations§
Source§impl Clone for ThemeColorKey
impl Clone for ThemeColorKey
Source§fn clone(&self) -> ThemeColorKey
fn clone(&self) -> ThemeColorKey
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ThemeColorKey
impl Debug for ThemeColorKey
Source§impl Hash for ThemeColorKey
impl Hash for ThemeColorKey
Source§impl PartialEq for ThemeColorKey
impl PartialEq for ThemeColorKey
impl Copy for ThemeColorKey
impl Eq for ThemeColorKey
impl StructuralPartialEq for ThemeColorKey
Auto Trait Implementations§
impl Freeze for ThemeColorKey
impl RefUnwindSafe for ThemeColorKey
impl Send for ThemeColorKey
impl Sync for ThemeColorKey
impl Unpin for ThemeColorKey
impl UnsafeUnpin for ThemeColorKey
impl UnwindSafe for ThemeColorKey
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