pub enum ColorRef {
Color(Color),
Named(ThemeNamedColorKey),
Token {
key: &'static str,
fallback: ColorFallback,
},
}Variants§
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ColorRef
impl RefUnwindSafe for ColorRef
impl Send for ColorRef
impl Sync for ColorRef
impl Unpin for ColorRef
impl UnsafeUnpin for ColorRef
impl UnwindSafe for ColorRef
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