Struct bitsetium::Intersection [−][src]
pub struct Intersection<T, U>(pub T, pub U);
Expand description
Bit-set wrapper that acts like set complement.
Effectively inverses all bits in the underlying bit-set.
Tuple Fields
0: T
1: U
Implementations
Swap sets of the intersection.
Trait Implementations
type Output = Intersection<T::Output, U>
Returns bit-set has bits set for each index that has bit set in exactly one of two arguments.
type Output = Intersection<T::Output, U>
Returns bit-set with bits set for each index that has bit set in either of two arguments.
Largest possible bit index that can be set. Any larger index will always be unset. Setting larger index is now allowed. Read more
Largest possible bit index that can be unset. Any larger index will always be set. Unsetting larger index is now allowed. Read more
Returns the “default value” for a type. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl<T, U> RefUnwindSafe for Intersection<T, U> where
T: RefUnwindSafe,
U: RefUnwindSafe,
impl<T, U> Send for Intersection<T, U> where
T: Send,
U: Send,
impl<T, U> Sync for Intersection<T, U> where
T: Sync,
U: Sync,
impl<T, U> Unpin for Intersection<T, U> where
T: Unpin,
U: Unpin,
impl<T, U> UnwindSafe for Intersection<T, U> where
T: UnwindSafe,
U: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more