Module empty

Module empty 

Source

Structs§

MaybeEmpty
A wrapper type to represent an instance of a type T that may be in a well-known “empty” state where its usual guarantees aren’t upheld.
NonEmptyIter
An iterator adapter that omits empty elements.
NonEmptyIterMut
A mutable iterator adapter that omits empty elements.

Traits§

IsEmpty
Implement this trait for a type to allow it to be used with MaybeEmpty.
NonEmptyIteratorExt
An extension trait to add the non_empty method to iterators of MaybeEmpty values.
NonEmptyIteratorMutExt
An extension trait to add the non_empty method to iterators of MaybeEmpty values.