pub struct VecSet<E: Element> { /* private fields */ }Implementations§
Trait Implementations§
Source§impl<'a, E: Element> BitAndAssign<&'a E> for VecSet<E>
impl<'a, E: Element> BitAndAssign<&'a E> for VecSet<E>
Source§fn bitand_assign(&mut self, rhs: &E)
fn bitand_assign(&mut self, rhs: &E)
Performs the
&= operation. Read moreSource§impl<'a, E: Element> BitAndAssign<&'a VecSet<E>> for VecSet<E>
impl<'a, E: Element> BitAndAssign<&'a VecSet<E>> for VecSet<E>
Source§fn bitand_assign(&mut self, rhs: &VecSet<E>)
fn bitand_assign(&mut self, rhs: &VecSet<E>)
Performs the
&= operation. Read moreSource§impl<'a, E: Element> BitOrAssign<&'a E> for VecSet<E>
impl<'a, E: Element> BitOrAssign<&'a E> for VecSet<E>
Source§fn bitor_assign(&mut self, rhs: &E)
fn bitor_assign(&mut self, rhs: &E)
Performs the
|= operation. Read moreSource§impl<'a, E: Element> BitOrAssign<&'a VecSet<E>> for VecSet<E>
impl<'a, E: Element> BitOrAssign<&'a VecSet<E>> for VecSet<E>
Source§fn bitor_assign(&mut self, rhs: &VecSet<E>)
fn bitor_assign(&mut self, rhs: &VecSet<E>)
Performs the
|= operation. Read moreSource§impl<'a, E: Element> BitXorAssign<&'a E> for VecSet<E>
impl<'a, E: Element> BitXorAssign<&'a E> for VecSet<E>
Source§fn bitxor_assign(&mut self, rhs: &E)
fn bitxor_assign(&mut self, rhs: &E)
Performs the
^= operation. Read moreSource§impl<'a, E: Element> BitXorAssign<&'a VecSet<E>> for VecSet<E>
impl<'a, E: Element> BitXorAssign<&'a VecSet<E>> for VecSet<E>
Source§fn bitxor_assign(&mut self, rhs: &VecSet<E>)
fn bitxor_assign(&mut self, rhs: &VecSet<E>)
Performs the
^= operation. Read moreSource§impl<E: Element> BitXorAssign for VecSet<E>
impl<E: Element> BitXorAssign for VecSet<E>
Source§fn bitxor_assign(&mut self, rhs: VecSet<E>)
fn bitxor_assign(&mut self, rhs: VecSet<E>)
Performs the
^= operation. Read moreSource§impl<E: Element> FromIterator<E> for VecSet<E>
impl<E: Element> FromIterator<E> for VecSet<E>
Source§fn from_iter<I: IntoIterator<Item = E>>(iter: I) -> Self
fn from_iter<I: IntoIterator<Item = E>>(iter: I) -> Self
Creates a value from an iterator. Read more
Source§impl<'a, E: Element> IntoIterator for &'a VecSet<E>
impl<'a, E: Element> IntoIterator for &'a VecSet<E>
Source§impl<'a, E: Element + 'a> Set<'a> for VecSet<E>
impl<'a, E: Element + 'a> Set<'a> for VecSet<E>
type Element = E
type Iter = Iter<'a, E>
type Difference = Difference<'a, E>
type Intersection = Intersection<'a, E>
type SymmetricDifference = SymmetricDifference<'a, E>
type Union = Union<'a, E>
fn new() -> Self
fn capacity(&self) -> usize
fn clear(&mut self)
fn contains(&self, value: &E) -> bool
Source§fn difference(&'a self, other: &'a Self) -> Self::Difference
fn difference(&'a self, other: &'a Self) -> Self::Difference
Returns an iterator of elements representing the difference between this set and another,
i.e., the elements that are in
self but not in other.fn difference_ref(&'a self, other: &'a Self) -> Self::Difference
fn insert(&mut self, value: E)
fn intersection(&'a self, other: &'a Self) -> Self::Intersection
fn is_empty(&self) -> bool
fn iter(&'a self) -> Self::Iter
fn len(&self) -> usize
fn remove(&mut self, value: &E)
fn retain<F>(&mut self, f: F)
fn symmetric_difference(&'a self, other: &'a Self) -> Self::SymmetricDifference
fn symmetric_difference_update(&mut self, rhs: &Self)
fn union(&'a self, other: &'a Self) -> Self::Union
fn union_update(&mut self, rhs: &Self)
fn with_capacity(capacity: usize) -> Self
fn intersection_update(&mut self, rhs: &Self)
fn intersection_item_update(&mut self, value: &Self::Element)
fn symmetric_difference_item_update(&mut self, value: &Self::Element)
fn union_item_update(&mut self, value: &Self::Element)
fn bitand_assign_set(&mut self, rhs: &Self)
fn bitand_assign_item(&mut self, rhs: &Self::Element)
fn bitor_assign_set(&mut self, rhs: &Self)
fn bitor_assign_item(&mut self, rhs: &Self::Element)
fn bitxor_assign_set(&mut self, rhs: &Self)
fn bitxor_assign_item(&mut self, rhs: &Self::Element)
fn sub_assign_set(&mut self, rhs: &Self)
fn sub_assign_item(&mut self, rhs: &Self::Element)
Auto Trait Implementations§
impl<E> Freeze for VecSet<E>
impl<E> RefUnwindSafe for VecSet<E>where
E: RefUnwindSafe,
impl<E> Send for VecSet<E>where
E: Send,
impl<E> Sync for VecSet<E>where
E: Sync,
impl<E> Unpin for VecSet<E>where
E: Unpin,
impl<E> UnwindSafe for VecSet<E>where
E: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more