rustfmt_nightly::attrTrait MetaVisitor
Source pub(crate) trait MetaVisitor<'ast> {
// Provided methods
fn visit_meta_item(&mut self, meta_item: &'ast MetaItem) { ... }
fn visit_meta_list(
&mut self,
_meta_item: &'ast MetaItem,
list: &'ast [MetaItemInner],
) { ... }
fn visit_meta_word(&mut self, _meta_item: &'ast MetaItem) { ... }
fn visit_meta_name_value(
&mut self,
_meta_item: &'ast MetaItem,
_lit: &'ast MetaItemLit,
) { ... }
fn visit_meta_item_inner(&mut self, nm: &'ast MetaItemInner) { ... }
fn visit_meta_item_lit(&mut self, _lit: &'ast MetaItemLit) { ... }
}