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

Start index (inclusive)

End index (exclusive)

Implementations on Foreign Types

impl RangeArgument for RangeFull
[src]

[src]

[src]

impl RangeArgument for RangeFrom<usize>
[src]

[src]

[src]

impl RangeArgument for RangeTo<usize>
[src]

[src]

[src]

impl RangeArgument for Range<usize>
[src]

[src]

[src]

Implementors