[−][src]Struct vec_collections::TotalVecSet
A VecSet with an additional flag so it can support negation.
This way it is possible to represent e.g. the set of all u64 except 1.
Implementations
impl<T, A: Array<Item = T>> TotalVecSet<A>[src]
pub fn is_empty(&self) -> bool[src]
pub fn is_all(&self) -> bool[src]
pub fn constant(value: bool) -> Self[src]
pub fn empty() -> Self[src]
pub fn all() -> Self[src]
pub fn shrink_to_fit(&mut self)[src]
impl<T: Ord, A: Array<Item = T>> TotalVecSet<A>[src]
pub fn contains(&self, value: &T) -> bool[src]
pub fn insert(&mut self, that: T)[src]
pub fn is_superset(&self, that: &Self) -> bool[src]
pub fn is_subset(&self, that: &Self) -> bool[src]
pub fn is_disjoint(&self, that: &Self) -> bool[src]
impl<T: Ord + Clone, A: Array<Item = T>> TotalVecSet<A>[src]
Trait Implementations
impl<T: Ord + Clone, A: Array<Item = T>, '_> BitAnd<&'_ TotalVecSet<A>> for &'_ TotalVecSet<A>[src]
type Output = TotalVecSet<A>
The resulting type after applying the & operator.
fn bitand(self, that: Self) -> Self::Output[src]
impl<T: Ord, A: Array<Item = T>> BitAndAssign<TotalVecSet<A>> for TotalVecSet<A>[src]
fn bitand_assign(&mut self, that: Self)[src]
impl<T: Ord + Clone, A: Array<Item = T>, '_> BitOr<&'_ TotalVecSet<A>> for &'_ TotalVecSet<A>[src]
type Output = TotalVecSet<A>
The resulting type after applying the | operator.
fn bitor(self, that: Self) -> Self::Output[src]
impl<T: Ord, A: Array<Item = T>> BitOrAssign<TotalVecSet<A>> for TotalVecSet<A>[src]
fn bitor_assign(&mut self, that: Self)[src]
impl<T: Ord + Clone, A: Array<Item = T>, '_> BitXor<&'_ TotalVecSet<A>> for &'_ TotalVecSet<A>[src]
type Output = TotalVecSet<A>
The resulting type after applying the ^ operator.
fn bitxor(self, that: Self) -> Self::Output[src]
impl<T: Ord, A: Array<Item = T>> BitXorAssign<TotalVecSet<A>> for TotalVecSet<A>[src]
fn bitxor_assign(&mut self, that: Self)[src]
impl<T: Clone, A: Array<Item = T>> Clone for TotalVecSet<A>[src]
fn clone(&self) -> Self[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl<T: Debug, A: Array<Item = T>> Debug for TotalVecSet<A>[src]
impl<T: Eq, A: Array<Item = T>> Eq for TotalVecSet<A>[src]
impl<T, A: Array<Item = T>> From<VecSet<A>> for TotalVecSet<A>[src]
impl<T, A: Array<Item = T>> From<bool> for TotalVecSet<A>[src]
impl<T: Hash, A: Array<Item = T>> Hash for TotalVecSet<A>[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: Ord + Clone, A: Array<Item = T>, '_> Not for &'_ TotalVecSet<A>[src]
type Output = TotalVecSet<A>
The resulting type after applying the ! operator.
fn not(self) -> Self::Output[src]
impl<T: Ord, A: Array<Item = T>> Not for TotalVecSet<A>[src]
type Output = TotalVecSet<A>
The resulting type after applying the ! operator.
fn not(self) -> Self::Output[src]
impl<T: PartialEq, A: Array<Item = T>> PartialEq<TotalVecSet<A>> for TotalVecSet<A>[src]
impl<T: Ord + Clone, A: Array<Item = T>, '_> Sub<&'_ TotalVecSet<A>> for &'_ TotalVecSet<A>[src]
type Output = TotalVecSet<A>
The resulting type after applying the - operator.
fn sub(self, that: Self) -> Self::Output[src]
impl<T: Ord, A: Array<Item = T>> SubAssign<TotalVecSet<A>> for TotalVecSet<A>[src]
fn sub_assign(&mut self, that: Self)[src]
Auto Trait Implementations
impl<A> RefUnwindSafe for TotalVecSet<A> where
A: RefUnwindSafe,
<A as Array>::Item: RefUnwindSafe,
A: RefUnwindSafe,
<A as Array>::Item: RefUnwindSafe,
impl<A> Send for TotalVecSet<A> where
<A as Array>::Item: Send,
<A as Array>::Item: Send,
impl<A> Sync for TotalVecSet<A> where
A: Sync,
A: Sync,
impl<A> Unpin for TotalVecSet<A> where
A: Unpin,
A: Unpin,
impl<A> UnwindSafe for TotalVecSet<A> where
A: UnwindSafe,
<A as Array>::Item: RefUnwindSafe,
A: UnwindSafe,
<A as Array>::Item: RefUnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
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> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
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>,