Enum rustfmt_config::BraceStyle [] [src]

pub enum BraceStyle {
    AlwaysNextLine,
    PreferSameLine,
    SameLineWhere,
}

Variants

Trait Implementations

impl Copy for BraceStyle
[src]

impl Clone for BraceStyle
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Eq for BraceStyle
[src]

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

[src]

Formats the value using the given formatter. Read more

impl Serialize for BraceStyle
[src]

[src]

Serialize this value into the given Serde serializer. Read more

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

[src]

Deserialize this value from the given Serde deserializer. Read more

impl FromStr for BraceStyle
[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

impl Send for BraceStyle

impl Sync for BraceStyle