pub trait TypeVisitor: Sized {
// Required method
fn visit<T: ExportableType + 'static + ?Sized>(&mut self);
}Expand description
A visitor used to iterate over all dependencies or generics of a type.
Required Methods§
fn visit<T: ExportableType + 'static + ?Sized>(&mut self)
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.