Struct core::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> Debug for RangeToInclusive<Idx>

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

Derived Implementations

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

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

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

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

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

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

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

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