Trait arrayvec::RangeArgument
[−]
[src]
pub trait RangeArgument { fn start(&self) -> Option<usize> { ... } fn end(&self) -> Option<usize> { ... } }
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
fn start(&self) -> Option<usize>
Start index (inclusive)
fn end(&self) -> Option<usize>
End index (exclusive)