Function rustc_builtin_macros::deriving::generic::cs_fold
source ยท pub(crate) fn cs_fold<F>(
use_foldl: bool,
cx: &ExtCtxt<'_>,
trait_span: Span,
substructure: &Substructure<'_>,
f: F,
) -> P<Expr>
Expand description
Folds over fields, combining the expressions for each field in a sequence. Statics may not be folded over.