Struct std::ops::RangeUnstable [-]  [+] [src]

pub struct Range<Idx> {
    pub start: Idx,
    pub end: Idx,
}

A (half-open) range which is bounded at both ends.

Fields

start

The lower bound of the range (inclusive).

end

The upper bound of the range (exclusive).

Trait Implementations

impl<Idx> Iterator for Range<Idx> where Idx: Clone, Idx: Step

fn next(&mut self) -> Option<Idx>

fn size_hint(&self) -> (usize, Option<usize>)

fn size_hint(&self) -> (usize, Option<usize>)

type Item

impl<Idx> DoubleEndedIterator for Range<Idx> where Idx: Clone, Idx: Step

fn next_back(&mut self) -> Option<Idx>

impl<Idx> ExactSizeIterator for Range<Idx> where Idx: Clone, Idx: Step

fn len(&self) -> usize

impl<Idx> Show for Range<Idx> where Idx: Show

fn fmt(&self, fmt: &mut Formatter) -> Result<(), Error>

Derived Implementations

impl<Idx> Eq for Range<Idx> where Idx: Eq

fn assert_receiver_is_total_eq(&self)

impl<Idx> PartialEq<Range<Idx>> for Range<Idx> where Idx: PartialEq<Idx>

fn eq(&self, __arg_0: &Range<Idx>) -> bool

fn ne(&self, __arg_0: &Range<Idx>) -> bool

fn ne(&self, &Range<Idx>) -> bool

impl<Idx> Copy for Range<Idx> where Idx: Copy