Struct std::ops::RangeToInclusive [] [src]

pub struct RangeToInclusive<Idx> {
    pub end: Idx,
}
Unstable (inclusive_range #28237)

: recently added, follows RFC

An inclusive range which is only bounded above.

Fields

end
Unstable (inclusive_range #28237)

: recently added, follows RFC

The upper bound of the range (inclusive)

Trait Implementations

impl<Idx> Debug for RangeToInclusive<Idx> where Idx: Debug

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

Derived Implementations

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

impl<Idx> Clone for RangeToInclusive<Idx> where Idx: Clone

fn clone(&self) -> RangeToInclusive<Idx>

1.0.0fn clone_from(&mut self, source: &Self)

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

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

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

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