pub trait Iter: ListFn<End = Self> {
// Provided method
fn iter(self) -> ListIterator<Self> ⓘ { ... }
}Expand description
Note: we can’t use the standard std::iter::IntoIterator because it has a conflicting implementation.
Provided Methods§
Sourcefn iter(self) -> ListIterator<Self> ⓘ
fn iter(self) -> ListIterator<Self> ⓘ
Converts a list to an iterator.
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.