Enum ptree::print_config::StyleWhen [−][src]
pub enum StyleWhen { Never, Always, Tty, }
Configuration option controlling when output styling is used
Variants
Never
Never style output
Always
Always style output
Tty
Style output only when printing to a TTY
Trait Implementations
impl Clone for StyleWhen
[src]
impl Clone for StyleWhen
fn clone(&self) -> StyleWhen
[src]
fn clone(&self) -> StyleWhen
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for StyleWhen
[src]
impl Copy for StyleWhen
impl Debug for StyleWhen
[src]
impl Debug for StyleWhen
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for StyleWhen
[src]
impl PartialEq for StyleWhen
fn eq(&self, other: &StyleWhen) -> bool
[src]
fn eq(&self, other: &StyleWhen) -> 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[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Eq for StyleWhen
[src]
impl Eq for StyleWhen