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 [NestedMetaItem]
    ) { ... }
    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_nested_meta_item(&mut self, nm: &'ast NestedMetaItem) { ... }
    fn visit_meta_item_lit(&mut self, _lit: &'ast MetaItemLit) { ... }
}

Provided Methods§

source

fn visit_meta_item(&mut self, meta_item: &'ast MetaItem)

source

fn visit_meta_list( &mut self, _meta_item: &'ast MetaItem, list: &'ast [NestedMetaItem] )

source

fn visit_meta_word(&mut self, _meta_item: &'ast MetaItem)

source

fn visit_meta_name_value( &mut self, _meta_item: &'ast MetaItem, _lit: &'ast MetaItemLit )

source

fn visit_nested_meta_item(&mut self, nm: &'ast NestedMetaItem)

source

fn visit_meta_item_lit(&mut self, _lit: &'ast MetaItemLit)

Implementors§

source§

impl<'ast> MetaVisitor<'ast> for PathVisitor