Advance

Trait Advance 

Source
pub trait Advance {
    // Required method
    fn advance(self, n: usize) -> Self;
}
Expand description

Extension trait to advance an iterator by n steps. Used to skip e.g. the first k-1 values of an iterator over k-mer hasher.

Required Methods§

Source

fn advance(self, n: usize) -> Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§