[][src]Struct vec_collections::VecSet

pub struct VecSet<T>(_);

Methods

impl<T> VecSet<T>[src]

pub fn singleton(value: T) -> Self[src]

pub fn as_slice(&self) -> &[T][src]

pub fn len(&self) -> usize[src]

pub fn shrink_to_fit(&mut self)[src]

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

pub fn empty() -> Self[src]

pub fn iter(&self) -> Iter<T>[src]

pub fn retain<F: FnMut(&T) -> bool>(&mut self, f: F)[src]

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

pub fn insert(&mut self, that: T)[src]

pub fn remove(&mut self, that: &T)[src]

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

pub fn is_subset(&self, that: &VecSet<T>) -> bool[src]

pub fn is_superset(&self, that: &VecSet<T>) -> bool[src]

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

Trait Implementations

impl<T> Into<Vec<T>> for VecSet<T>[src]

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

impl<T: Ord> From<Vec<T>> for VecSet<T>[src]

impl<T: Ord> From<BTreeSet<T>> for VecSet<T>[src]

impl<T: Ord> Extend<T> for VecSet<T>[src]

impl<'a, T: 'a + Ord + Copy> Extend<&'a T> for VecSet<T>[src]

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

impl<T> Default for VecSet<T>[src]

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

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

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

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

type Output = VecSet<T>

The resulting type after applying the - operator.

impl<T: Ord> Sub<VecSet<T>> for VecSet<T>[src]

type Output = VecSet<T>

The resulting type after applying the - operator.

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

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

type Output = VecSet<T>

The resulting type after applying the & operator.

impl<T: Ord> BitAnd<VecSet<T>> for VecSet<T>[src]

type Output = VecSet<T>

The resulting type after applying the & operator.

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

type Output = VecSet<T>

The resulting type after applying the | operator.

impl<T: Ord> BitOr<VecSet<T>> for VecSet<T>[src]

type Output = VecSet<T>

The resulting type after applying the | operator.

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

type Output = VecSet<T>

The resulting type after applying the ^ operator.

impl<T: Ord> BitXor<VecSet<T>> for VecSet<T>[src]

type Output = VecSet<T>

The resulting type after applying the ^ operator.

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

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

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

impl<T: Hash> Hash for VecSet<T>[src]

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

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

impl<T: Ord> FromIterator<T> for VecSet<T>[src]

Auto Trait Implementations

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

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

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

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

impl<T> RefUnwindSafe for VecSet<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]

impl<T, Right> ClosedSub<Right> for T where
    T: Sub<Right, Output = T> + SubAssign<Right>, 
[src]