pub trait Object<R> {
type Iter: Iterator<Item = Entity>;
// Required method
fn cells(&self, records: &R) -> Self::Iter;
// Provided methods
fn and<O>(self, rhs: O) -> UnionCombination<Self, O, R>
where Self: Sized { ... }
fn not<O>(self, rhs: O) -> DiffCombination<Self, O, R>
where Self: Sized { ... }
fn intersect<O>(self, rhs: O) -> IntersectionCombination<Self, O, R>
where Self: Sized { ... }
fn inverse(self) -> InversionCombination<Self, R>
where Self: Sized { ... }
}
Expand description
Object helps to locate a necessary part of a Table
.
Required Associated Types§
Required Methods§
Provided Methods§
Sourcefn and<O>(self, rhs: O) -> UnionCombination<Self, O, R>where
Self: Sized,
fn and<O>(self, rhs: O) -> UnionCombination<Self, O, R>where
Self: Sized,
Combines cells. It doesn’t repeat cells.
Sourcefn not<O>(self, rhs: O) -> DiffCombination<Self, O, R>where
Self: Sized,
fn not<O>(self, rhs: O) -> DiffCombination<Self, O, R>where
Self: Sized,
Excludes rhs cells from this cells.
Sourcefn intersect<O>(self, rhs: O) -> IntersectionCombination<Self, O, R>where
Self: Sized,
fn intersect<O>(self, rhs: O) -> IntersectionCombination<Self, O, R>where
Self: Sized,
Returns cells which are present in both Object
s only.
Sourcefn inverse(self) -> InversionCombination<Self, R>where
Self: Sized,
fn inverse(self) -> InversionCombination<Self, R>where
Self: Sized,
Returns cells which are not present in target Object
.