syn::fold

Function fold_variant

Source
pub fn fold_variant<F>(f: &mut F, node: Variant) -> Variant
where F: Fold + ?Sized,
Available on crate feature fold and (crate features derive or full) only.