[][src]Trait rendy_core::hal::range::RangeArg

pub trait RangeArg<T> {
    fn start(&self) -> Option<&T>;
fn end(&self) -> Option<&T>; }

Abstracts the std range types.

Based upon the nightly RangeArgument trait.

Required methods

fn start(&self) -> Option<&T>

Start index bound.

fn end(&self) -> Option<&T>

End index bound.

Loading content...

Implementations on Foreign Types

impl<T> RangeArg<T> for (Option<T>, Option<T>)[src]

impl<T> RangeArg<T> for RangeTo<T>[src]

impl<T> RangeArg<T> for Range<T>[src]

impl<T> RangeArg<T> for RangeFrom<T>[src]

impl<T> RangeArg<T> for RangeFull[src]

Loading content...

Implementors

Loading content...