Trait itertools::misc::GenericRange [] [src]

pub trait GenericRange {
    fn start(&self) -> Option<usize> { ... }
    fn end(&self) -> Option<usize> { ... }
}

GenericRange is implemented by Rust's built-in range types, produced by range syntax like a.., ..b or c..d.

Provided Methods

fn start(&self) -> Option<usize>

Start index (inclusive)

fn end(&self) -> Option<usize>

End index (exclusive)

Implementors