rustfmt_nightly::patterns

Function rewrite_struct_pat

Source
fn rewrite_struct_pat(
    qself: &Option<P<QSelf>>,
    path: &Path,
    fields: &[PatField],
    ellipsis: bool,
    span: Span,
    context: &RewriteContext<'_>,
    shape: Shape,
) -> Result<String, RewriteError>