Module non_empty

Module non_empty 

Source
Expand description

The non-empty iterator core traits.

Traitsยง

FromNonEmptyIterator
Represents types that can be created from non-empty iterators.
IntoNonEmptyIterator
Represents types that can be converted into non-empty iterators.
NonEmptyIterator
Represents Iterator that is guaranteed to be non-empty (equivalently, having at least one item).
TryIntoNonEmptyIterator
Convenience trait implemented for any type that is IntoIterator, allowing to convert iterables into non-empty ones.