Registry / utility / peekmore

peekmore

JSON →
library1.3.0rscratesunverified

Iterator adapter like Peekable, but allows peeking forward multiple elements.

# Cargo.toml [dependencies] peekmore = "1.3.0"
INSTALL
IMPORT
SIG · PEEKMORE
P
peekmore
utilityrustv1.3.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

PeekMore
use peekmore::PeekMore;

Peek multiple elements ahead in an iterator.

use peekmore::PeekMore; fn main() { let iter = vec![1, 2, 3, 4].into_iter().peekmore(); if let Some(peeked) = iter.peek_n(2) { println!("Peeked two ahead: {:?}", peeked); } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.3.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
peekmore — cargo add peekmore · libregistry