[][src]Struct vec_collections::RangeSet

pub struct RangeSet<T> { /* fields omitted */ }

Methods

impl<T> RangeSet<T>[src]

pub fn empty() -> Self[src]

pub fn all() -> Self[src]

pub fn constant(value: bool) -> Self[src]

pub fn is_empty(&self) -> bool[src]

pub fn is_all(&self) -> bool[src]

impl<T: Ord> RangeSet<T>[src]

pub fn is_disjoint(&self, that: &Self) -> bool[src]

pub fn contains(&self, value: &T) -> bool[src]

Trait Implementations

impl<T: Ord> From<Range<T>> for RangeSet<T>[src]

impl<T: Ord> From<RangeFrom<T>> for RangeSet<T>[src]

impl<T: Ord> From<RangeTo<T>> for RangeSet<T>[src]

impl<T: Clone> Clone for RangeSet<T>[src]

impl<T: Eq> Eq for RangeSet<T>[src]

impl<T: PartialEq> PartialEq<RangeSet<T>> for RangeSet<T>[src]

impl<T: Debug> Debug for RangeSet<T>[src]

impl<'_, T: Ord + Clone> Sub<&'_ RangeSet<T>> for &'_ RangeSet<T>[src]

type Output = RangeSet<T>

The resulting type after applying the - operator.

impl<T: Ord> SubAssign<RangeSet<T>> for RangeSet<T>[src]

impl<T: Ord + Clone> Not for RangeSet<T>[src]

type Output = RangeSet<T>

The resulting type after applying the ! operator.

impl<'_, T: Ord + Clone> Not for &'_ RangeSet<T>[src]

type Output = RangeSet<T>

The resulting type after applying the ! operator.

impl<'_, T: Ord + Clone> BitAnd<&'_ RangeSet<T>> for &'_ RangeSet<T>[src]

type Output = RangeSet<T>

The resulting type after applying the & operator.

impl<'_, T: Ord + Clone> BitOr<&'_ RangeSet<T>> for &'_ RangeSet<T>[src]

type Output = RangeSet<T>

The resulting type after applying the | operator.

impl<'_, T: Ord + Clone> BitXor<&'_ RangeSet<T>> for &'_ RangeSet<T>[src]

type Output = RangeSet<T>

The resulting type after applying the ^ operator.

impl<T: Ord> BitAndAssign<RangeSet<T>> for RangeSet<T>[src]

impl<T: Ord> BitOrAssign<RangeSet<T>> for RangeSet<T>[src]

impl<T: Ord> BitXorAssign<RangeSet<T>> for RangeSet<T>[src]

impl<T> StructuralPartialEq for RangeSet<T>[src]

impl<T> StructuralEq for RangeSet<T>[src]

Auto Trait Implementations

impl<T> Send for RangeSet<T> where
    T: Send

impl<T> Sync for RangeSet<T> where
    T: Sync

impl<T> Unpin for RangeSet<T> where
    T: Unpin

impl<T> UnwindSafe for RangeSet<T> where
    T: UnwindSafe

impl<T> RefUnwindSafe for RangeSet<T> where
    T: RefUnwindSafe

Blanket Implementations

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.

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

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

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

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 
[src]