pub enum ColorProfile {
TrueColor,
ANSI256,
ANSI,
Ascii,
}Expand description
ColorProfile enum representing terminal color support level.
Variants§
TrueColor
TrueColor (24-bit RGB direct color).
ANSI256
ANSI256 (256 indexed colors).
ANSI
ANSI (16 basic colors).
Ascii
Ascii (monochrome/no color).
Trait Implementations§
Source§impl Clone for ColorProfile
impl Clone for ColorProfile
Source§fn clone(&self) -> ColorProfile
fn clone(&self) -> ColorProfile
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 ColorProfile
Source§impl Debug for ColorProfile
impl Debug for ColorProfile
impl Eq for ColorProfile
Source§impl PartialEq for ColorProfile
impl PartialEq for ColorProfile
impl StructuralPartialEq for ColorProfile
Auto Trait Implementations§
impl Freeze for ColorProfile
impl RefUnwindSafe for ColorProfile
impl Send for ColorProfile
impl Sync for ColorProfile
impl Unpin for ColorProfile
impl UnsafeUnpin for ColorProfile
impl UnwindSafe for ColorProfile
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