pub enum ColorMode {
TrueColor,
Color256,
Basic16,
}Expand description
Terminal color support level.
Variants§
TrueColor
24-bit RGB (\x1b[38;2;R;G;Bm).
Color256
xterm 256-color palette (\x1b[38;5;Nm).
Basic16
ANSI 16-color (\x1b[30m–\x1b[37m, \x1b[90m–\x1b[97m).
Implementations§
Trait Implementations§
impl Copy for ColorMode
impl Eq for ColorMode
impl StructuralPartialEq for ColorMode
Auto Trait Implementations§
impl Freeze for ColorMode
impl RefUnwindSafe for ColorMode
impl Send for ColorMode
impl Sync for ColorMode
impl Unpin for ColorMode
impl UnsafeUnpin for ColorMode
impl UnwindSafe for ColorMode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.