Enum rustfmt::config::StructLitStyle [] [src]

pub enum StructLitStyle {
    Visual,
    Block,
}

Variants

VisualBlock

Trait Implementations

impl Debug for StructLitStyle
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl PartialEq for StructLitStyle
[src]

fn eq(&self, __arg_0: &StructLitStyle) -> bool

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

fn ne(&self, other: &Rhs) -> bool
1.0.0

This method tests for !=.

impl Eq for StructLitStyle
[src]

impl Clone for StructLitStyle
[src]

fn clone(&self) -> StructLitStyle

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Copy for StructLitStyle
[src]

impl Decodable for StructLitStyle
[src]

fn decode<D: Decoder>(d: &mut D) -> Result<Self, D::Error>

impl FromStr for StructLitStyle
[src]

type Err = &'static str

The associated error which can be returned from parsing.

fn from_str(s: &str) -> Result<Self, Self::Err>

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

impl ConfigType for StructLitStyle
[src]