pub struct Cell(/* private fields */);Expand description
Cell denotes a particular cell on a Table.
For example such table has 4 cells. Which indexes are (0, 0), (0, 1), (1, 0), (1, 1).
┌───┬───┐
│ 0 │ 1 │
├───┼───┤
│ 1 │ 2 │
└───┴───┘Implementations§
Trait Implementations§
Source§impl<I> Object<I> for Cell
impl<I> Object<I> for Cell
Source§type Iter = EntityOnce
type Iter = EntityOnce
An
Iterator which returns a list of cells.Source§fn cells(&self, _: &I) -> <Cell as Object<I>>::Iter
fn cells(&self, _: &I) -> <Cell as Object<I>>::Iter
Cells returns a set of coordinates of cells.
Source§fn 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.
Source§fn 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.
Source§impl Ord for Cell
impl Ord for Cell
Source§impl PartialOrd for Cell
impl PartialOrd for Cell
impl Copy for Cell
impl Eq for Cell
impl StructuralPartialEq for Cell
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.