pub enum AnsiOutputFormat {
Truecolor,
SimpleBlack,
SimpleWhite,
}Expand description
Supported ANSI output formats
Variants§
Truecolor
Truecolor ANSI 24-bit colour
SimpleBlack
Dumb ANSI 3-bit colour, for black backgrounds
SimpleWhite
Dumb ANSI 3-bit colour, for white backgrounds
Trait Implementations§
Source§impl Clone for AnsiOutputFormat
impl Clone for AnsiOutputFormat
Source§fn clone(&self) -> AnsiOutputFormat
fn clone(&self) -> AnsiOutputFormat
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 AnsiOutputFormat
impl Debug for AnsiOutputFormat
Source§impl Hash for AnsiOutputFormat
impl Hash for AnsiOutputFormat
Source§impl Ord for AnsiOutputFormat
impl Ord for AnsiOutputFormat
Source§fn cmp(&self, other: &AnsiOutputFormat) -> Ordering
fn cmp(&self, other: &AnsiOutputFormat) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for AnsiOutputFormat
impl PartialEq for AnsiOutputFormat
Source§impl PartialOrd for AnsiOutputFormat
impl PartialOrd for AnsiOutputFormat
impl Copy for AnsiOutputFormat
impl Eq for AnsiOutputFormat
impl StructuralPartialEq for AnsiOutputFormat
Auto Trait Implementations§
impl Freeze for AnsiOutputFormat
impl RefUnwindSafe for AnsiOutputFormat
impl Send for AnsiOutputFormat
impl Sync for AnsiOutputFormat
impl Unpin for AnsiOutputFormat
impl UnwindSafe for AnsiOutputFormat
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more