Enum rustfmt_config::lists::ListTactic [] [src]

pub enum ListTactic {
    Vertical,
    Horizontal,
    HorizontalVertical,
    LimitedHorizontalVertical(usize),
    Mixed,
}

Formatting tactic for lists. This will be cast down to a DefinitiveListTactic depending on the number and length of the items and their comments.

Variants

Trait Implementations

impl Eq for ListTactic
[src]

impl PartialEq for ListTactic
[src]

[src]

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

[src]

This method tests for !=.

impl Debug for ListTactic
[src]

[src]

Formats the value using the given formatter. Read more

impl Copy for ListTactic
[src]

impl Clone for ListTactic
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Serialize for ListTactic
[src]

[src]

Serialize this value into the given Serde serializer. Read more

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

[src]

Deserialize this value from the given Serde deserializer. Read more

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

impl Sync for ListTactic