Enum rustfmt_nightly::config::IndentStyle [] [src]

pub enum IndentStyle {
    Visual,
    Block,
}

Variants

Trait Implementations

impl Copy for IndentStyle
[src]

impl Clone for IndentStyle
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for IndentStyle
[src]

impl PartialEq for IndentStyle
[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 IndentStyle
[src]

Formats the value using the given formatter.

impl Serialize for IndentStyle
[src]

Serialize this value into the given Serde serializer. Read more

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

Deserialize this value from the given Serde deserializer. Read more

impl FromStr for IndentStyle
[src]

The associated error which can be returned from parsing.

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

impl ConfigType for IndentStyle
[src]

Returns hint text for use in Config::print_docs(). For enum types, this is a pipe-separated list of variants; for other types it returns "". Read more