Enum rustfmt_nightly::config::lists::__define_config_type_on_enum_ListTactic::ListTactic [−][src]
pub enum ListTactic {
Vertical,
Horizontal,
HorizontalVertical,
LimitedHorizontalVertical(usize),
Mixed,
}Variants
Vertical
One item per row.
Horizontal
All items on one row.
HorizontalVertical
Try Horizontal layout, if that fails then vertical.
LimitedHorizontalVertical(usize)
Tuple Fields
0: usizeHorizontalVertical with a soft limit of n characters.
Mixed
Pack 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 even differ between compilations. 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
Size for each variant:
Vertical: 0 bytesHorizontal: 0 bytesHorizontalVertical: 0 bytesLimitedHorizontalVertical: 8 bytesMixed: 0 bytes
