Trait grabbag::iter::SkipExactlyIterator
[−]
[src]
pub trait SkipExactlyIterator: Iterator + Sized {
fn skip_exactly(self, n: usize) -> Self { ... }
}(..., ai-1, ai, ai+1, ...), i → (ai, ai+1, ...)
Provided Methods
fn skip_exactly(self, n: usize) -> Self
Skips exactly n elements from the iterator.
Failure
This method will panic if there are less than n elements in the iterator.