pub struct Cell(pub usize, pub usize);
Expand description
Cell denotes a particular cell on a Table
.
Tuple Fields§
§0: usize
§1: usize
Trait Implementations§
Source§impl Object for Cell
impl Object for Cell
Source§type Iter = EntityOnce
type Iter = EntityOnce
An
Iterator
which returns a list of cells.Source§fn cells<T>(&self, _: &Table<T>) -> Self::Iterwhere
T: Records,
fn cells<T>(&self, _: &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 Freeze for Cell
impl RefUnwindSafe for Cell
impl Send for Cell
impl Sync for Cell
impl Unpin for Cell
impl UnwindSafe for Cell
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