pub trait Object: Sized {
type Iter: Iterator<Item = Entity>;
// Required method
fn cells<R>(&self, table: &Table<R>) -> Self::Iter
where R: Records;
// Provided methods
fn and<O>(self, rhs: O) -> UnionCombination<Self, O>
where O: Object { ... }
fn not<O>(self, rhs: O) -> DiffCombination<Self, O>
where O: Object { ... }
fn intersect<O>(self, rhs: O) -> IntersectionCombination<Self, O>
where O: Object { ... }
fn inverse(self) -> InversionCombination<Self> { ... }
}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>where
O: Object,
fn and<O>(self, rhs: O) -> UnionCombination<Self, O>where
O: Object,
Combines cells. It doesn’t repeat cells.
Sourcefn 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.
Sourcefn 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 Objects only.
Sourcefn inverse(self) -> InversionCombination<Self>
fn inverse(self) -> InversionCombination<Self>
Returns cells which are not present in target Object.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.