pub enum ColorConstant {
Show 17 variants
Black,
White,
Red,
Green,
Blue,
Yellow,
Cyan,
Magenta,
Gray,
DarkRed,
DarkGreen,
DarkBlue,
DarkYellow,
DarkCyan,
DarkMagenta,
LightGray,
DarkGray,
}Expand description
Named color constants of the expression language.
Variants§
Black
tsBlack.
White
tsWhite.
Red
tsRed.
Green
tsGreen.
Blue
tsBlue.
Yellow
tsYellow.
Cyan
tsCyan.
Magenta
tsMagenta.
Gray
tsGray.
DarkRed
tsDarkRed.
DarkGreen
tsDarkGreen.
DarkBlue
tsDarkBlue.
DarkYellow
tsDarkYellow.
DarkCyan
tsDarkCyan.
DarkMagenta
tsDarkMagenta.
LightGray
tsLightGray.
DarkGray
tsDarkGray.
Implementations§
Source§impl ColorConstant
impl ColorConstant
Trait Implementations§
Source§impl Clone for ColorConstant
impl Clone for ColorConstant
Source§fn clone(&self) -> ColorConstant
fn clone(&self) -> ColorConstant
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ColorConstant
Source§impl Debug for ColorConstant
impl Debug for ColorConstant
impl Eq for ColorConstant
Source§impl Hash for ColorConstant
impl Hash for ColorConstant
Source§impl PartialEq for ColorConstant
impl PartialEq for ColorConstant
impl StructuralPartialEq for ColorConstant
Auto Trait Implementations§
impl Freeze for ColorConstant
impl RefUnwindSafe for ColorConstant
impl Send for ColorConstant
impl Sync for ColorConstant
impl Unpin for ColorConstant
impl UnsafeUnpin for ColorConstant
impl UnwindSafe for ColorConstant
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