[][src]Struct hibitset::BitSetOr

pub struct BitSetOr<A: BitSetLike, B: BitSetLike>(pub A, pub B);

BitSetOr takes two BitSetLike items, and merges the masks returning a new virtual set, which represents an merged of the two original sets.

Trait Implementations

impl<A, B, T> BitAnd<T> for BitSetOr<A, B> where
    T: BitSetLike,
    A: BitSetLike,
    B: BitSetLike
[src]

type Output = BitSetAnd<Self, T>

The resulting type after applying the & operator.

impl<'a, A, B, T> BitAnd<T> for &'a BitSetOr<A, B> where
    T: BitSetLike,
    A: BitSetLike,
    B: BitSetLike
[src]

type Output = BitSetAnd<Self, T>

The resulting type after applying the & operator.

impl<A, B, T> BitOr<T> for BitSetOr<A, B> where
    T: BitSetLike,
    A: BitSetLike,
    B: BitSetLike
[src]

type Output = BitSetOr<Self, T>

The resulting type after applying the | operator.

impl<'a, A, B, T> BitOr<T> for &'a BitSetOr<A, B> where
    T: BitSetLike,
    A: BitSetLike,
    B: BitSetLike
[src]

type Output = BitSetOr<Self, T>

The resulting type after applying the | operator.

impl<A: BitSetLike, B: BitSetLike> BitSetLike for BitSetOr<A, B>[src]

impl<A, B, T> BitXor<T> for BitSetOr<A, B> where
    T: BitSetLike,
    A: BitSetLike,
    B: BitSetLike
[src]

type Output = BitSetXor<Self, T>

The resulting type after applying the ^ operator.

impl<'a, A, B, T> BitXor<T> for &'a BitSetOr<A, B> where
    T: BitSetLike,
    A: BitSetLike,
    B: BitSetLike
[src]

type Output = BitSetXor<Self, T>

The resulting type after applying the ^ operator.

impl<A: Clone + BitSetLike, B: Clone + BitSetLike> Clone for BitSetOr<A, B>[src]

impl<A: Debug + BitSetLike, B: Debug + BitSetLike> Debug for BitSetOr<A, B>[src]

impl<A: DrainableBitSet, B: DrainableBitSet> DrainableBitSet for BitSetOr<A, B>[src]

impl<A, B> IntoIterator for BitSetOr<A, B> where
    A: BitSetLike,
    B: BitSetLike
[src]

type Item = <BitIter<Self> as Iterator>::Item

The type of the elements being iterated over.

type IntoIter = BitIter<Self>

Which kind of iterator are we turning this into?

impl<'a, A, B> IntoIterator for &'a BitSetOr<A, B> where
    A: BitSetLike,
    B: BitSetLike
[src]

type Item = <BitIter<Self> as Iterator>::Item

The type of the elements being iterated over.

type IntoIter = BitIter<Self>

Which kind of iterator are we turning this into?

impl<A, B> Not for BitSetOr<A, B> where
    A: BitSetLike,
    B: BitSetLike
[src]

type Output = BitSetNot<Self>

The resulting type after applying the ! operator.

impl<'a, A, B> Not for &'a BitSetOr<A, B> where
    A: BitSetLike,
    B: BitSetLike
[src]

type Output = BitSetNot<Self>

The resulting type after applying the ! operator.

Auto Trait Implementations

impl<A, B> RefUnwindSafe for BitSetOr<A, B> where
    A: RefUnwindSafe,
    B: RefUnwindSafe

impl<A, B> Send for BitSetOr<A, B> where
    A: Send,
    B: Send

impl<A, B> Sync for BitSetOr<A, B> where
    A: Sync,
    B: Sync

impl<A, B> Unpin for BitSetOr<A, B> where
    A: Unpin,
    B: Unpin

impl<A, B> UnwindSafe for BitSetOr<A, B> where
    A: UnwindSafe,
    B: 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> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<I> IntoIterator for I where
    I: Iterator
[src]

type Item = <I as Iterator>::Item

The type of the elements being iterated over.

type IntoIter = I

Which kind of iterator are we turning this into?

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.