Struct rustfmt_nightly::lists::ListFormatting [−][src]
pub(crate) struct ListFormatting<'a> {
tactic: DefinitiveListTactic,
separator: &'a str,
trailing_separator: SeparatorTactic,
separator_place: SeparatorPlace,
shape: Shape,
ends_with_newline: bool,
preserve_newline: bool,
nested: bool,
align_comments: bool,
config: &'a Config,
}Fields
tactic: DefinitiveListTacticseparator: &'a strtrailing_separator: SeparatorTacticseparator_place: SeparatorPlaceshape: Shapeends_with_newline: boolpreserve_newline: boolnested: boolalign_comments: boolconfig: &'a ConfigImplementations
Auto Trait Implementations
impl<'a> !RefUnwindSafe for ListFormatting<'a>
impl<'a> !Send for ListFormatting<'a>
impl<'a> !Sync for ListFormatting<'a>
impl<'a> Unpin for ListFormatting<'a>
impl<'a> !UnwindSafe for ListFormatting<'a>
Blanket Implementations
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: 80 bytes