pub enum ColorChoice {
Auto,
Never,
}Expand description
Whether to colour the output.
Variants§
Trait Implementations§
Source§impl Clone for ColorChoice
impl Clone for ColorChoice
Source§fn clone(&self) -> ColorChoice
fn clone(&self) -> ColorChoice
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 ColorChoice
Source§impl Debug for ColorChoice
impl Debug for ColorChoice
impl Eq for ColorChoice
Source§impl PartialEq for ColorChoice
impl PartialEq for ColorChoice
Source§fn eq(&self, other: &ColorChoice) -> bool
fn eq(&self, other: &ColorChoice) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ColorChoice
Auto Trait Implementations§
impl Freeze for ColorChoice
impl RefUnwindSafe for ColorChoice
impl Send for ColorChoice
impl Sync for ColorChoice
impl Unpin for ColorChoice
impl UnsafeUnpin for ColorChoice
impl UnwindSafe for ColorChoice
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