pub struct PlacedCell {
pub at: GridCoord,
pub row_idx: usize,
pub cell_idx: usize,
}Expand description
One placement produced by the lenient scan: where a cell landed.
Fields§
§at: GridCoordLogical position the cursor assigned to this cell.
row_idx: usizeIndex into Table::rows.
cell_idx: usizeIndex into the row’s cells.
Trait Implementations§
Source§impl Clone for PlacedCell
impl Clone for PlacedCell
Source§fn clone(&self) -> PlacedCell
fn clone(&self) -> PlacedCell
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PlacedCell
Source§impl Debug for PlacedCell
impl Debug for PlacedCell
impl Eq for PlacedCell
Source§impl PartialEq for PlacedCell
impl PartialEq for PlacedCell
impl StructuralPartialEq for PlacedCell
Auto Trait Implementations§
impl Freeze for PlacedCell
impl RefUnwindSafe for PlacedCell
impl Send for PlacedCell
impl Sync for PlacedCell
impl Unpin for PlacedCell
impl UnsafeUnpin for PlacedCell
impl UnwindSafe for PlacedCell
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> 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.