[−][src]Struct vec_collections::VecSet
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]
fn extend<I: IntoIterator<Item = T>>(&mut self, iter: I)[src]
impl<'a, T: 'a + Ord + Copy> Extend<&'a T> for VecSet<T>[src]
fn extend<I: IntoIterator<Item = &'a T>>(&mut self, iter: I)[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.
fn sub(self, that: Self) -> Self::Output[src]
impl<T: Ord> Sub<VecSet<T>> for VecSet<T>[src]
type Output = VecSet<T>
The resulting type after applying the - operator.
fn sub(self, that: Self) -> Self::Output[src]
impl<T: Ord> SubAssign<VecSet<T>> for VecSet<T>[src]
fn sub_assign(&mut self, that: Self)[src]
impl<'_, T: Ord + Clone> BitAnd<&'_ VecSet<T>> for &'_ VecSet<T>[src]
type Output = VecSet<T>
The resulting type after applying the & operator.
fn bitand(self, that: Self) -> Self::Output[src]
impl<T: Ord> BitAnd<VecSet<T>> for VecSet<T>[src]
type Output = VecSet<T>
The resulting type after applying the & operator.
fn bitand(self, that: Self) -> Self::Output[src]
impl<'_, T: Ord + Clone> BitOr<&'_ VecSet<T>> for &'_ VecSet<T>[src]
type Output = VecSet<T>
The resulting type after applying the | operator.
fn bitor(self, that: Self) -> Self::Output[src]
impl<T: Ord> BitOr<VecSet<T>> for VecSet<T>[src]
type Output = VecSet<T>
The resulting type after applying the | operator.
fn bitor(self, that: Self) -> Self::Output[src]
impl<'_, T: Ord + Clone> BitXor<&'_ VecSet<T>> for &'_ VecSet<T>[src]
type Output = VecSet<T>
The resulting type after applying the ^ operator.
fn bitxor(self, that: Self) -> Self::Output[src]
impl<T: Ord> BitXor<VecSet<T>> for VecSet<T>[src]
type Output = VecSet<T>
The resulting type after applying the ^ operator.
fn bitxor(self, that: Self) -> Self::Output[src]
impl<T: Ord> BitAndAssign<VecSet<T>> for VecSet<T>[src]
fn bitand_assign(&mut self, that: Self)[src]
impl<T: Ord> BitOrAssign<VecSet<T>> for VecSet<T>[src]
fn bitor_assign(&mut self, that: Self)[src]
impl<T: Ord> BitXorAssign<VecSet<T>> for VecSet<T>[src]
fn bitxor_assign(&mut self, that: Self)[src]
impl<T: Hash> Hash for VecSet<T>[src]
fn hash<__H: Hasher>(&self, state: &mut __H)[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
H: Hasher,
impl<T> StructuralPartialEq for VecSet<T>[src]
impl<T> StructuralEq for VecSet<T>[src]
impl<T: Ord> FromIterator<T> for VecSet<T>[src]
fn from_iter<I: IntoIterator<Item = T>>(iter: I) -> Self[src]
Auto Trait Implementations
impl<T> Send for VecSet<T> where
T: Send,
T: Send,
impl<T> Sync for VecSet<T> where
T: Sync,
T: Sync,
impl<T> Unpin for VecSet<T> where
T: Unpin,
T: Unpin,
impl<T> UnwindSafe for VecSet<T> where
T: UnwindSafe,
T: UnwindSafe,
impl<T> RefUnwindSafe for VecSet<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> From<T> for T[src]
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>, [src]
SS: SubsetOf<SP>,
fn to_subset(&self) -> Option<SS>[src]
fn is_in_subset(&self) -> bool[src]
unsafe fn to_subset_unchecked(&self) -> SS[src]
fn from_subset(element: &SS) -> SP[src]
impl<T, Right> ClosedSub<Right> for T where
T: Sub<Right, Output = T> + SubAssign<Right>, [src]
T: Sub<Right, Output = T> + SubAssign<Right>,