Crate consume_iterator

Crate consume_iterator 

Source
Expand description

Iterator utility for consuming an iterator fully.

To use, either use consume_iterator::consume to get the function, or use consume_iterator::ConsumeIterator to get the convenience trait.

Traits§

ConsumeIterator
Convenience trait to allow using consume as a method. This trait is implemented for every Iterator.

Functions§

consume
Consume an iterator.