pub trait StoreVisitor: Sized {
// Provided methods
fn on_expr(&mut self, expr: ExprId) { ... }
fn on_anon_const_expr(&mut self, expr: ExprId) { ... }
fn on_pat(&mut self, pat: PatId) { ... }
fn on_type(&mut self, ty: TypeRefId) { ... }
fn on_lifetime(&mut self, lifetime: LifetimeRefId) { ... }
fn on_generic_args(&mut self, args: &GenericArgs) { ... }
}Provided Methods§
fn on_expr(&mut self, expr: ExprId)
fn on_anon_const_expr(&mut self, expr: ExprId)
fn on_pat(&mut self, pat: PatId)
fn on_type(&mut self, ty: TypeRefId)
fn on_lifetime(&mut self, lifetime: LifetimeRefId)
fn on_generic_args(&mut self, args: &GenericArgs)
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".