Trait odds::IndexRange [] [src]

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

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

Provided Methods

Start index (inclusive)

End index (exclusive)

Implementors