# Trait rustc_ast::visit::WalkItemKind

source ·

    pub trait WalkItemKind: Sized {
        // Required method
        fn walk<'a, V: Visitor<'a>>(
            &'a self,
            item: &'a Item<Self>,
            ctxt: AssocCtxt,
            visitor: &mut V
        ) -> V::Result;
    }

## Required Methods§

source

#### fn walk<'a, V: Visitor<'a>>( &'a self, item: &'a Item<Self>, ctxt: AssocCtxt, visitor: &mut V ) -> V::Result

## Object Safety§

This trait is not object safe.

## Implementors§

source§

### impl WalkItemKind for AssocItemKind

source§

### impl WalkItemKind for ForeignItemKind

source§

### impl WalkItemKind for ItemKind