pub trait Visitable<'tcx> {
// Required method
fn visit<V: Visitor<'tcx>>(self, visitor: &mut V) -> V::Result;
}
Expand description
A type which can be visited.
Required Methods§
Object Safety§
This trait is not object safe.
pub trait Visitable<'tcx> {
// Required method
fn visit<V: Visitor<'tcx>>(self, visitor: &mut V) -> V::Result;
}
A type which can be visited.