pub struct UnionCombination<L, R> { /* private fields */ }
Expand description
Combination struct used for chaining Object
’s.
Combines 2 sets of cells into one.
Duplicates are removed from the output set.
Trait Implementations§
Source§impl<L, R> Object for UnionCombination<L, R>
impl<L, R> Object for UnionCombination<L, R>
Source§type Iter = UnionIter<<L as Object>::Iter, <R as Object>::Iter>
type Iter = UnionIter<<L as Object>::Iter, <R as Object>::Iter>
An
Iterator
which returns a list of cells.Source§fn cells<T>(&self, table: &Table<T>) -> Self::Iterwhere
T: Records,
fn cells<T>(&self, table: &Table<T>) -> Self::Iterwhere
T: Records,
Cells returns a set of coordinates of cells
Source§fn and<O>(self, rhs: O) -> UnionCombination<Self, O>where
O: Object,
fn and<O>(self, rhs: O) -> UnionCombination<Self, O>where
O: Object,
Combines cells.
It doesn’t repeat cells.
Source§fn not<O>(self, rhs: O) -> DiffCombination<Self, O>where
O: Object,
fn not<O>(self, rhs: O) -> DiffCombination<Self, O>where
O: Object,
Excludes rhs cells from this cells.
Source§fn intersect<O>(self, rhs: O) -> IntersectionCombination<Self, O>where
O: Object,
fn intersect<O>(self, rhs: O) -> IntersectionCombination<Self, O>where
O: Object,
Returns cells which are present in both
Object
s only.Source§fn inverse(self) -> InversionCombination<Self>
fn inverse(self) -> InversionCombination<Self>
Returns cells which are not present in target
Object
.Auto Trait Implementations§
impl<L, R> Freeze for UnionCombination<L, R>
impl<L, R> RefUnwindSafe for UnionCombination<L, R>where
L: RefUnwindSafe,
R: RefUnwindSafe,
impl<L, R> Send for UnionCombination<L, R>
impl<L, R> Sync for UnionCombination<L, R>
impl<L, R> Unpin for UnionCombination<L, R>
impl<L, R> UnwindSafe for UnionCombination<L, R>where
L: UnwindSafe,
R: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more