pub trait DynInnerVisit<'a, V> {
    // Required method
    fn dyn_inner_visit_with(&'a self, visitor: &mut V);
}
Expand description

Dynamic dispatch version of InnerVisit.

dyn DynInnerVisit<'a, V> is possible, unlike dyn InnerVisit, because of the trait-level type parameter V, which replaces the method parameter.

Required Methods§

source

fn dyn_inner_visit_with(&'a self, visitor: &mut V)

Implementors§

source§

impl<'a, T: InnerVisit, V: Visitor<'a>> DynInnerVisit<'a, V> for T