Enum rustfmt_nightly::Color[][src]

pub enum Color {
    Always,
    Never,
    Auto,
}

Variants

Methods

impl Color
[src]

Whether we should use a coloured terminal.

Trait Implementations

impl Copy for Color
[src]

impl Clone for Color
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for Color
[src]

impl PartialEq for Color
[src]

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

This method tests for !=.

impl Debug for Color
[src]

Formats the value using the given formatter. Read more

impl Serialize for Color
[src]

Serialize this value into the given Serde serializer. Read more

impl<'de> Deserialize<'de> for Color
[src]

Deserialize this value from the given Serde deserializer. Read more

impl FromStr for Color
[src]

The associated error which can be returned from parsing.

Parses a string s to return a value of this type. Read more

Auto Trait Implementations

impl Send for Color

impl Sync for Color