Enum termimage::AnsiOutputFormat
source · 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 copy 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<AnsiOutputFormat> for AnsiOutputFormat
impl PartialEq<AnsiOutputFormat> for AnsiOutputFormat
source§fn eq(&self, other: &AnsiOutputFormat) -> bool
fn eq(&self, other: &AnsiOutputFormat) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<AnsiOutputFormat> for AnsiOutputFormat
impl PartialOrd<AnsiOutputFormat> for AnsiOutputFormat
source§fn partial_cmp(&self, other: &AnsiOutputFormat) -> Option<Ordering>
fn partial_cmp(&self, other: &AnsiOutputFormat) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for AnsiOutputFormat
impl Eq for AnsiOutputFormat
impl StructuralEq for AnsiOutputFormat
impl StructuralPartialEq for AnsiOutputFormat
Auto Trait Implementations§
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