Enum stijl::DoStyle
[−]
[src]
pub enum DoStyle { Always, Auto, Never, }
Strategies for applying styles to text.
Variants
Always
Always apply style.
Auto
Apply style if stdout/stderr write to a terminal, but not if they are redirected.
Never
Never apply style.
Trait Implementations
impl Clone for DoStyle
[src]
fn clone(&self) -> DoStyle
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Copy for DoStyle
[src]
impl Debug for DoStyle
[src]
impl PartialEq for DoStyle
[src]
fn eq(&self, __arg_0: &DoStyle) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.