| Crates.io | discard-while |
| lib.rs | discard-while |
| version | 0.1.6 |
| created_at | 2023-04-15 22:51:34.683353+00 |
| updated_at | 2023-04-16 20:42:25.501479+00 |
| description | Get the first non-matching element, and the amount of discarded elements. |
| homepage | |
| repository | https://github.com/schuelermine/discard-while |
| max_upload_size | |
| id | 840250 |
| size | 7,483 |
Iterator utility for getting the first non-matching element, discarding any others, and the amount of discarded elements.
To use, either use discard_while::discard_while to get the function,
or use discard_while::DiscardWhile to get the convenience trait.
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.