Lyricdev
GitHub

interface Iterable

pub interface Iterable

What for walks: iter() gives an iterator over it, anew at every loop.

Every iterator is iterable as itself: a struct iterator as a copy, a class iterator as the object, so two loops over one go on from each other.

Associated types

type Iter :: [Iterator]

Methods

fn iter(): Self.Iter