Function syntax::ext::deriving::generic::cs_same_method_foldExperimental
[-]
[+]
[src]
pub fn cs_same_method_fold(use_foldl: bool, f: |&mut ExtCtxt, Span, P<Expr>, P<Expr>| -> P<Expr>, base: P<Expr>, enum_nonmatch_f: EnumNonMatchCollapsedFunc, cx: &mut ExtCtxt, trait_span: Span, substructure: &Substructure) -> P<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).