pub trait Drive<'s, V: Visitor> {
// Required method
fn drive_inner(&'s self, v: &mut V) -> ControlFlow<V::Break>;
}Expand description
A type that can be visited.
Required Methods§
Sourcefn drive_inner(&'s self, v: &mut V) -> ControlFlow<V::Break>
fn drive_inner(&'s self, v: &mut V) -> ControlFlow<V::Break>
Call v.visit() on the immediate contents of self.