pub enum Color {
Black,
Red,
Green,
Yellow,
Blue,
Cyan,
Magenta,
White,
}Expand description
Color codes ^digit.
Variants§
Black
Black is coded as ^0.
Red
Red is coded as ^1.
Green
Green is coded as ^2.
Yellow
Yellow is coded as ^3.
Blue
Blue is coded as ^4.
Cyan
Cyan is coded as ^5.
Magenta
Magenta is coded as ^6.
White
White is coded as ^7.
Trait Implementations§
impl Copy for Color
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