Enum color_ansi::AnsiAbility
source · pub enum AnsiAbility {
Disabled,
Windows,
Full,
Auto,
}
Expand description
The ability of a writer to support ANSI escape codes.
Variants§
Disabled
Devices that do not support any color.
Windows
Old Windows devices,
Note: this does not represent the windows platform, modern windows platforms also support AnsiAbility::Full
Full
Devices that support all ansi colors.
Auto
The writer may or may not support ANSI escape codes, but it is
Trait Implementations§
source§impl Clone for AnsiAbility
impl Clone for AnsiAbility
source§fn clone(&self) -> AnsiAbility
fn clone(&self) -> AnsiAbility
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 AnsiAbility
impl Debug for AnsiAbility
source§impl Default for AnsiAbility
impl Default for AnsiAbility
impl Copy for AnsiAbility
Auto Trait Implementations§
impl RefUnwindSafe for AnsiAbility
impl Send for AnsiAbility
impl Sync for AnsiAbility
impl Unpin for AnsiAbility
impl UnwindSafe for AnsiAbility
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