[][src]Trait flatk::BoundedRange

pub trait BoundedRange {
    type Index: IntBound;
    fn start(&self) -> Self::Index;
fn end(&self) -> Self::Index; fn distance(&self) -> Self::Index { ... } }

A definition of a bounded range.

Associated Types

Loading content...

Required methods

fn start(&self) -> Self::Index

fn end(&self) -> Self::Index

Loading content...

Provided methods

fn distance(&self) -> Self::Index

Loading content...

Implementations on Foreign Types

impl<T: IntBound> BoundedRange for Range<T>[src]

type Index = T

impl<T: IntBound> BoundedRange for RangeInclusive<T>[src]

type Index = T

impl<T: IntBound> BoundedRange for RangeTo<T>[src]

type Index = T

impl<T: IntBound> BoundedRange for RangeToInclusive<T>[src]

type Index = T

Loading content...

Implementors

impl<N: Unsigned> BoundedRange for StaticRange<N>[src]

type Index = usize

Loading content...