pub trait Visitable {
    // Required method
    fn super_visit<V: Visitor>(&self, visitor: &mut V) -> ControlFlow<V::Break>;

    // Provided method
    fn visit<V: Visitor>(&self, visitor: &mut V) -> ControlFlow<V::Break> { ... }
}

Required Methods§

source

fn super_visit<V: Visitor>(&self, visitor: &mut V) -> ControlFlow<V::Break>

Provided Methods§

source

fn visit<V: Visitor>(&self, visitor: &mut V) -> ControlFlow<V::Break>

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<T: Visitable> Visitable for Option<T>

source§

fn super_visit<V: Visitor>(&self, visitor: &mut V) -> ControlFlow<V::Break>

source§

impl<T: Visitable> Visitable for Vec<T>

source§

fn super_visit<V: Visitor>(&self, visitor: &mut V) -> ControlFlow<V::Break>

Implementors§