trait VecOrAttrVec {
    fn visit(&mut self, f: impl FnOnce(&mut Vec<Attribute>));
}
Expand description

Helper trait for the impls above. Abstracts over the two types of attribute fields that AST nodes may have (Vec<Attribute> or AttrVec).

Required Methods

Implementations on Foreign Types

Implementors