pub trait Container<T>: Sealed<T> {
    type Iter: Iterator<Item = T>;

    fn get_iter(&self) -> Self::Iter;
}
Expand description

A utility trait to abstract over linear container-like things.

This trait is likely to change in future versions of the crate, so avoid implementing it yourself.

Required Associated Types

An iterator over the items within this container, by value.

Required Methods

Iterate over the elements of the container (using internal iteration because GATs are unstable).

Implementations on Foreign Types

Implementors