Struct more_ranges::RangeFromExclusiveToExclusive[][src]

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

A range bounded exclusively below and above.

The RangeFromExclusiveToExclusive contains all values with x > start and x < end. It is empty unless start < end + 1`.

Example

RangeFromExclusiveToExclusives can be created directly, as follows:

use more_ranges::RangeFromExclusiveToExclusive;

let range = RangeFromExclusiveToExclusive {
    start: 1,
    end: 4,
};

Fields

start: Idx

The lower bound of the range (exclusive).

end: Idx

The upper bound of the range (exclusive).

Trait Implementations

impl<Idx: Clone> Clone for RangeFromExclusiveToExclusive<Idx>[src]

impl<Idx: Debug> Debug for RangeFromExclusiveToExclusive<Idx>[src]

impl<Idx: Eq> Eq for RangeFromExclusiveToExclusive<Idx>[src]

impl<Idx: Hash> Hash for RangeFromExclusiveToExclusive<Idx>[src]

impl<Idx: PartialEq> PartialEq<RangeFromExclusiveToExclusive<Idx>> for RangeFromExclusiveToExclusive<Idx>[src]

impl<T> RangeBounds<T> for RangeFromExclusiveToExclusive<T>[src]

impl<'a, T> RangeBounds<T> for RangeFromExclusiveToExclusive<&'a T>[src]

impl<Idx> StructuralEq for RangeFromExclusiveToExclusive<Idx>[src]

impl<Idx> StructuralPartialEq for RangeFromExclusiveToExclusive<Idx>[src]

Auto Trait Implementations

impl<Idx> Send for RangeFromExclusiveToExclusive<Idx> where
    Idx: Send
[src]

impl<Idx> Sync for RangeFromExclusiveToExclusive<Idx> where
    Idx: Sync
[src]

impl<Idx> Unpin for RangeFromExclusiveToExclusive<Idx> where
    Idx: Unpin
[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.