pub struct CellKey {
pub row: u16,
pub col: u16,
}Expand description
Key for render view: identifies a cell position (row, col).
Fields§
§row: u16§col: u16Trait Implementations§
impl Copy for CellKey
impl Eq for CellKey
Source§impl Ord for CellKey
impl Ord for CellKey
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for CellKey
impl PartialOrd for CellKey
impl StructuralPartialEq for CellKey
Auto Trait Implementations§
impl Freeze for CellKey
impl RefUnwindSafe for CellKey
impl Send for CellKey
impl Sync for CellKey
impl Unpin for CellKey
impl UnsafeUnpin for CellKey
impl UnwindSafe for CellKey
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.