ShapeVisitor

Trait ShapeVisitor 

Source
pub trait ShapeVisitor {
    // Required method
    fn visit<T: Facet<'static> + Clone + Send + Sync + Into<Tree> + 'static>(
        &mut self,
    );
}
Expand description

Trait for a type which can visit each of the shapes in our library

Required Methods§

Source

fn visit<T: Facet<'static> + Clone + Send + Sync + Into<Tree> + 'static>( &mut self, )

Process the given type

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.

Implementors§