pub enum Entity {
Global,
Column(usize),
Row(usize),
Cell(usize, usize),
}
Expand description
Entity a structure which represent a set of cells.
Variants§
Global
All cells on the grid.
Column(usize)
All cells in a column on the grid.
Row(usize)
All cells in a row on the grid.
Cell(usize, usize)
A particular cell (row, column) on the grid.
Implementations§
Trait Implementations§
impl Copy for Entity
impl Eq for Entity
impl StructuralPartialEq for Entity
Auto Trait Implementations§
impl Freeze for Entity
impl RefUnwindSafe for Entity
impl Send for Entity
impl Sync for Entity
impl Unpin for Entity
impl UnwindSafe for Entity
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