peeking_take_while
Like `Iterator::take_while`, but calls the predicate on a peeked value. This allows you to use `Iterator::by_ref` and `Iterator::take_while`
- Category
- Rust crates
cargo add peeking_take_while Official docs outline
docs.rsExtra Credit builds an outline of peeking_take_while's docs the first time your work uses it. Until then, start at the official documentation.
More in Rust crates
All 4,945-
ndarray An n-dimensional array for general elements and for numerics. Lightweight array views and slicing; views support chunking and splitting.
-
bytes-utils Additional utilities for working with the bytes crate
-
threadpool A thread pool for running a number of jobs on a fixed set of worker threads.
-
rust-ini An Ini configuration file parsing library in Rust
-
outref Out reference
-
oid-registry Object Identifier (OID) database
-
ctrlc Easy Ctrl-C handler for Rust projects
-
bigdecimal Arbitrary precision decimal numbers
-
html5ever High-performance browser-grade HTML5 parser
-
rcgen Rust X.509 certificate generator
-
android-tzdata Parser for the Android-specific tzdata file
-
enumflags2 Enum-based bit flags