rustfmt_nightly::pairs

Trait FlattenPair

source
trait FlattenPair: Rewrite + Sized {
    // Provided method
    fn flatten(
        &self,
        _: &RewriteContext<'_>,
        _: Shape,
    ) -> Option<PairList<'_, '_, Self>> { ... }
}

Provided Methods§

source

fn flatten( &self, _: &RewriteContext<'_>, _: Shape, ) -> Option<PairList<'_, '_, Self>>

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl FlattenPair for Expr

source§

fn flatten( &self, context: &RewriteContext<'_>, shape: Shape, ) -> Option<PairList<'_, '_, Expr>>

source§

impl FlattenPair for Pat

source§

impl FlattenPair for Ty

Implementors§