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>>

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§