[][src]Derive Macro ast_node::Fold

#[derive(Fold)]
{
    // Attributes available to this derive:
    #[fold]
}

Implements FoldWith<F> and VisitWith<F>.

Attributes

#[fold(ignore)] Skip a field.

#[fold(bound)] Add bound to the generated impl block. Generic fields typically requires this attribute.