pub trait KernelArgs {
// Required method
fn visit_args<V: ArgVisitor>(&self, visitor: &mut V);
}Expand description
Implemented for tuples of KernelArgs; visits each element in order.
The proc macro generates type Args<'a> = (A, B, C, ...) and the blanket
tuple impls below make that satisfy this bound automatically.
Required Methods§
Sourcefn visit_args<V: ArgVisitor>(&self, visitor: &mut V)
fn visit_args<V: ArgVisitor>(&self, visitor: &mut V)
Visits each element of self in order.
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.