pub trait Iter: CollectionRef {
type Iter<'a>: Iterator<Item = Self::ItemRef<'a>>
where Self: 'a;
// Required method
fn iter(&self) -> Self::Iter<'_>;
}Expand description
Iterable collection.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".