[][src]Struct negatable_set::NegatableSet

pub struct NegatableSet<I> { /* fields omitted */ }

Implementations

impl<I: MutableSet + Default> NegatableSet<I>[src]

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

pub fn empty() -> Self[src]

pub fn all() -> Self[src]

impl<I: MutableSet> NegatableSet<I>[src]

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

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

pub fn into_elements(self) -> I[src]

pub fn elements(&self) -> &I[src]

pub fn elements_mut(&mut self) -> &mut I[src]

impl<I: MutableSet> NegatableSet<I>[src]

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

pub fn insert(&mut self, that: I::Item)[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<I: MutableSet> NegatableSet<I> where
    I::Item: Ord + Clone
[src]

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

Trait Implementations

impl<'a, I: MutableSet + 'a> BitAnd<&'a NegatableSet<I>> for &'a NegatableSet<I> where
    &'a I: BitAnd<Output = I>,
    &'a I: BitOr<Output = I>,
    &'a I: Sub<Output = I>, 
[src]

type Output = NegatableSet<I>

The resulting type after applying the & operator.

impl<I: MutableSet> BitAndAssign<NegatableSet<I>> for NegatableSet<I> where
    I: BitAndAssign,
    I: BitOrAssign,
    I: SubAssign
[src]

impl<'a, I: MutableSet> BitOr<&'a NegatableSet<I>> for &'a NegatableSet<I> where
    &'a I: BitAnd<Output = I>,
    &'a I: BitOr<Output = I>,
    &'a I: Sub<Output = I>, 
[src]

type Output = NegatableSet<I>

The resulting type after applying the | operator.

impl<I: MutableSet> BitOrAssign<NegatableSet<I>> for NegatableSet<I> where
    I: BitAndAssign,
    I: BitOrAssign,
    I: SubAssign
[src]

impl<'a, I: MutableSet> BitXor<&'a NegatableSet<I>> for &'a NegatableSet<I> where
    &'a I: BitXor<Output = I>, 
[src]

type Output = NegatableSet<I>

The resulting type after applying the ^ operator.

impl<I: MutableSet> BitXorAssign<NegatableSet<I>> for NegatableSet<I> where
    I: BitXorAssign
[src]

impl<I: Clone> Clone for NegatableSet<I>[src]

impl<I: MutableSet> Debug for NegatableSet<I>[src]

impl<I: Default> Default for NegatableSet<I>[src]

impl<'de, A> Deserialize<'de> for NegatableSet<A> where
    A: MutableSet + Deserialize<'de>, 
[src]

impl<I: Eq> Eq for NegatableSet<I>[src]

impl<I: MutableSet> From<I> for NegatableSet<I>[src]

impl<I: MutableSet + Default> From<bool> for NegatableSet<I>[src]

impl<I: Hash> Hash for NegatableSet<I>[src]

impl<'a, I: MutableSet + Clone> Not for &'a NegatableSet<I>[src]

type Output = NegatableSet<I>

The resulting type after applying the ! operator.

impl<I: MutableSet + Clone> Not for NegatableSet<I>[src]

type Output = NegatableSet<I>

The resulting type after applying the ! operator.

impl<I: PartialEq> PartialEq<NegatableSet<I>> for NegatableSet<I>[src]

impl<A> Serialize for NegatableSet<A> where
    A: MutableSet + Serialize
[src]

impl<'a, I: MutableSet> Sub<&'a NegatableSet<I>> for &'a NegatableSet<I> where
    &'a I: BitAnd<Output = I>,
    &'a I: BitOr<Output = I>,
    &'a I: Sub<Output = I>, 
[src]

type Output = NegatableSet<I>

The resulting type after applying the - operator.

impl<I: MutableSet> SubAssign<NegatableSet<I>> for NegatableSet<I> where
    I: BitAndAssign,
    I: BitOrAssign,
    I: SubAssign
[src]

Auto Trait Implementations

impl<I> RefUnwindSafe for NegatableSet<I> where
    I: RefUnwindSafe

impl<I> Send for NegatableSet<I> where
    I: Send

impl<I> Sync for NegatableSet<I> where
    I: Sync

impl<I> Unpin for NegatableSet<I> where
    I: Unpin

impl<I> UnwindSafe for NegatableSet<I> where
    I: UnwindSafe

Blanket Implementations

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

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

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

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

impl<T, U> Into<U> for T where
    U: From<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.