pub enum DiagnosticColor {
Never,
Always,
}Expand description
ANSI color policy for source-aware diagnostic rendering.
Variants§
Never
Never emit ANSI escape sequences.
Always
Use standard terminal foreground colors and bold emphasis.
Trait Implementations§
Source§impl Clone for DiagnosticColor
impl Clone for DiagnosticColor
Source§fn clone(&self) -> DiagnosticColor
fn clone(&self) -> DiagnosticColor
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 DiagnosticColor
Source§impl Debug for DiagnosticColor
impl Debug for DiagnosticColor
Source§impl Default for DiagnosticColor
impl Default for DiagnosticColor
Source§fn default() -> DiagnosticColor
fn default() -> DiagnosticColor
Returns the “default value” for a type. Read more
impl Eq for DiagnosticColor
Source§impl PartialEq for DiagnosticColor
impl PartialEq for DiagnosticColor
impl StructuralPartialEq for DiagnosticColor
Auto Trait Implementations§
impl Freeze for DiagnosticColor
impl RefUnwindSafe for DiagnosticColor
impl Send for DiagnosticColor
impl Sync for DiagnosticColor
impl Unpin for DiagnosticColor
impl UnsafeUnpin for DiagnosticColor
impl UnwindSafe for DiagnosticColor
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