pub trait WalkItemKind {
type Ctxt;
// Required method
fn walk<'a, V: Visitor<'a>>(
&'a self,
span: Span,
id: NodeId,
ident: &'a Ident,
visibility: &'a Visibility,
ctxt: Self::Ctxt,
visitor: &mut V,
) -> V::Result;
}
Required Associated Types§
Required Methods§
fn walk<'a, V: Visitor<'a>>( &'a self, span: Span, id: NodeId, ident: &'a Ident, visibility: &'a Visibility, ctxt: Self::Ctxt, visitor: &mut V, ) -> V::Result
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.