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

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

Note: This is arrayvec’s provisional trait, waiting for stable Rust to provide an equivalent.

Provided Methods

Start index (inclusive)

End index (exclusive)

Implementations on Foreign Types

Implementors