Function syntax::ext::deriving::generic::cs_same_method_fold[src]

pub fn cs_same_method_fold(use_foldl: bool, f: |&mut ExtCtxt, Span, Gc<Expr>, Gc<Expr>| -> Gc<Expr>, base: Gc<Expr>, enum_nonmatch_f: EnumNonMatchFunc, cx: &mut ExtCtxt, trait_span: Span, substructure: &Substructure) -> Gc<Expr>

Fold together the results of calling the derived method on all the fields. use_foldl controls whether this is done left-to-right (true) or right-to-left (false).