Struct rustfmt_nightly::chains::ChainFormatterShared [−][src]
struct ChainFormatterShared<'a> {
children: &'a [ChainItem],
rewrites: Vec<String>,
fits_single_line: bool,
child_count: usize,
}
Fields
children: &'a [ChainItem]
rewrites: Vec<String>
fits_single_line: bool
child_count: usize
Implementations
fn format_last_child(
&mut self,
may_extend: bool,
context: &RewriteContext<'_>,
shape: Shape,
child_shape: Shape
) -> Option<()>
Auto Trait Implementations
impl<'a> !RefUnwindSafe for ChainFormatterShared<'a>
impl<'a> !Send for ChainFormatterShared<'a>
impl<'a> !Sync for ChainFormatterShared<'a>
impl<'a> Unpin for ChainFormatterShared<'a>
impl<'a> !UnwindSafe for ChainFormatterShared<'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: 56 bytes