pub trait IterItem {
type Item<'a>;
}
Expand description
A kind of item that an IterVTable
returns
This trait is needed as a utility, so the functions within IterVTable
can apply the appropriate lifetime to their result types. In other words,
this trait acts like a higher-kinded type that takes a lifetime.
Required Associated Types§
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.