rustc_ast::mut_visit

Trait WalkItemKind

Source
pub trait WalkItemKind {
    // Required method
    fn walk(&mut self, span: Span, id: NodeId, visitor: &mut impl MutVisitor);
}

Required Methods§

Source

fn walk(&mut self, span: Span, id: NodeId, visitor: &mut impl MutVisitor)

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§