pub enum Color {
Currentcolor(Ident),
Transparent(Ident),
System(SystemColor),
Hex(Hash),
Named(NamedColor),
Function(ColorFunction),
}Variants§
Currentcolor(Ident)
Transparent(Ident)
System(SystemColor)
Hex(Hash)
Named(NamedColor)
Function(ColorFunction)
Trait Implementations§
Source§impl Ord for Color
impl Ord for Color
Source§impl PartialOrd for Color
impl PartialOrd for Color
Source§impl ToCursors for Color
impl ToCursors for Color
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for Color
impl StructuralPartialEq for Color
Auto Trait Implementations§
impl Freeze for Color
impl RefUnwindSafe for Color
impl Send for Color
impl Sync for Color
impl Unpin for Color
impl UnwindSafe for Color
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