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: Clone + Step> Iterator for Range<Idx>

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

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

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

type Item

impl<Idx: Clone + Step> DoubleEndedIterator for Range<Idx>

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

impl<Idx: Clone + Step> ExactSizeIterator for Range<Idx>

fn len(&self) -> usize

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

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

Derived Implementations

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

fn assert_receiver_is_total_eq(&self)

impl<Idx: PartialEq<Idx>> PartialEq<Range<Idx>> for Range<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>