Enum stijl::DoStyle [] [src]

pub enum DoStyle {
    Always,
    Auto,
    Never,
}

Strategies for applying styles to text.

Variants

Always apply style.

Apply style if stdout/stderr write to a terminal, but not if they are redirected.

Never apply style.

Trait Implementations

impl Clone for DoStyle
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for DoStyle
[src]

impl Debug for DoStyle
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for DoStyle
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl Eq for DoStyle
[src]