Struct bitsetium::Union [−][src]
pub struct Union<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
Trait Implementations
type Output = Intersection<T::Output, U::Output>
impl<T, U, Y> BitDifference<Y> for Union<T, U> where
T: BitDifference<Y>,
U: BitDifference<Y>,
Y: Copy,
impl<T, U, Y> BitDifference<Y> for Union<T, U> where
T: BitDifference<Y>,
U: BitDifference<Y>,
Y: Copy,
impl<T, U, Y> BitIntersection<Y> for Union<T, U> where
T: BitIntersection<Y>,
U: BitIntersection<Y>,
Y: Copy,
impl<T, U, Y> BitIntersection<Y> for Union<T, U> where
T: BitIntersection<Y>,
U: BitIntersection<Y>,
Y: Copy,
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
Auto Trait Implementations
impl<T, U> RefUnwindSafe for Union<T, U> where
T: RefUnwindSafe,
U: RefUnwindSafe,
impl<T, U> UnwindSafe for Union<T, U> where
T: UnwindSafe,
U: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more