pub enum ColorSystem {
NoColor,
Standard,
EightBit,
TrueColor,
Windows,
}Expand description
Color system capabilities.
Variants§
NoColor
No color support
Standard
Standard 8/16 colors
EightBit
256 colors
TrueColor
True color (16 million colors)
Windows
Windows legacy console (mapped to Standard for ANSI output)
Trait Implementations§
Source§impl Clone for ColorSystem
impl Clone for ColorSystem
Source§fn clone(&self) -> ColorSystem
fn clone(&self) -> ColorSystem
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ColorSystem
impl Debug for ColorSystem
Source§impl Default for ColorSystem
impl Default for ColorSystem
Source§fn default() -> ColorSystem
fn default() -> ColorSystem
Returns the “default value” for a type. Read more
Source§impl PartialEq for ColorSystem
impl PartialEq for ColorSystem
impl Copy for ColorSystem
impl Eq for ColorSystem
impl StructuralPartialEq for ColorSystem
Auto Trait Implementations§
impl Freeze for ColorSystem
impl RefUnwindSafe for ColorSystem
impl Send for ColorSystem
impl Sync for ColorSystem
impl Unpin for ColorSystem
impl UnwindSafe for ColorSystem
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