Iter

Trait Iter 

Source
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§

Source

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.

Implementors§

Source§

impl<S: ListFn<End = Self>> Iter for S