#iterator #generic #elements #trying

try_take

A generic function for trying to take elements out of an iterator

1 unstable release

0.1.0 Jun 19, 2023

#15 in #trying

Download history 3/week @ 2024-01-01 4/week @ 2024-02-05 13/week @ 2024-02-12 17/week @ 2024-02-19 45/week @ 2024-02-26 11/week @ 2024-03-04 17/week @ 2024-03-11 24/week @ 2024-03-18 13/week @ 2024-03-25 43/week @ 2024-04-01 8/week @ 2024-04-08 49/week @ 2024-04-15

118 downloads per month
Used in 2 crates

MIT/Apache

6KB

try_take

A generic function to take elements out of an iterator. It yields either an iterator or the length of the underlying iterator.

no_std

Only the core crate is required.

No runtime deps