[][src]Trait arrayvec::RangeArgument

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)

Loading content...

Implementations on Foreign Types

impl RangeArgument for RangeFull[src]

impl RangeArgument for RangeFrom<usize>[src]

impl RangeArgument for RangeTo<usize>[src]

impl RangeArgument for Range<usize>[src]

Loading content...

Implementors

Loading content...