#iterator #no-alloc

no-std consume-iterator

Consume any iterator fully

4 releases

0.2.1 Apr 25, 2023
0.2.0 Apr 16, 2023
0.1.1 Apr 16, 2023
0.1.0 Apr 16, 2023

#378 in #no-alloc

38 downloads per month

MIT license

3KB

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.

Documentation

This library is free software, you can use and re-use it under the terms of the MIT license. A copy of the license is provided in the source repository in the “LICENSE” file.


lib.rs:

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.

No runtime deps