Enum rustfmt_config::ControlBraceStyle [] [src]

pub enum ControlBraceStyle {
    AlwaysSameLine,
    ClosingNextLine,
    AlwaysNextLine,
}

Variants

Trait Implementations

impl Copy for ControlBraceStyle
[src]

impl Clone for ControlBraceStyle
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Eq for ControlBraceStyle
[src]

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

[src]

Formats the value using the given formatter. Read more

impl Serialize for ControlBraceStyle
[src]

[src]

Serialize this value into the given Serde serializer. Read more

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

[src]

Deserialize this value from the given Serde deserializer. Read more

impl FromStr for ControlBraceStyle
[src]

The associated error which can be returned from parsing.

[src]

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

Auto Trait Implementations