Enum rustfmt_nightly::config::lists::__define_config_type_on_enum_ListTactic::ListTactic [−][src]
pub enum ListTactic {
Vertical,
Horizontal,
HorizontalVertical,
LimitedHorizontalVertical(usize),
Mixed,
}Variants
One item per row.
All items on one row.
Try Horizontal layout, if that fails then vertical.
HorizontalVertical with a soft limit of n characters.
Tuple Fields of LimitedHorizontalVertical
0: usizePack as many items as possible per row over (possibly) many rows.
Trait Implementations
Deserialize this value from the given Serde deserializer. Read more
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for ListTactic
impl Send for ListTactic
impl Sync for ListTactic
impl Unpin for ListTactic
impl UnwindSafe for ListTactic
Blanket Implementations
Mutably borrows from an owned value. Read more
Layout
Note: Most layout information is completely unstable and may be different between compiler versions and platforms. The only exception is types with certain repr(...) attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 16 bytes