Enum ptree::print_config::StyleWhen[][src]

pub enum StyleWhen {
    Never,
    Always,
    Tty,
}

Configuration option controlling when output styling is used

Variants

Never style output

Always style output

Style output only when printing to a TTY

Trait Implementations

impl Clone for StyleWhen
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for StyleWhen
[src]

impl Debug for StyleWhen
[src]

Formats the value using the given formatter. Read more

impl PartialEq for StyleWhen
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for StyleWhen
[src]

Auto Trait Implementations

impl Send for StyleWhen

impl Sync for StyleWhen