pub enum ColourLevel {
True {
light: bool,
},
Ansi16,
Plain,
}Expand description
How much colour the terminal takes, best first.
Variants§
True
24-bit colour: the brand’s own colours, in the shades for a dark or a light terminal.
Ansi16
The 16 ANSI colours, which follow the terminal’s theme.
Plain
Trait Implementations§
Source§impl Clone for ColourLevel
impl Clone for ColourLevel
impl Copy for ColourLevel
Source§impl Debug for ColourLevel
impl Debug for ColourLevel
impl Eq for ColourLevel
Source§impl PartialEq for ColourLevel
impl PartialEq for ColourLevel
impl StructuralPartialEq for ColourLevel
Auto Trait Implementations§
impl Forget for ColourLevel
impl Freeze for ColourLevel
impl Move for ColourLevel
impl RefUnwindSafe for ColourLevel
impl Send for ColourLevel
impl Sync for ColourLevel
impl Unpin for ColourLevel
impl UnsafeUnpin for ColourLevel
impl UnwindSafe for ColourLevel
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