pub struct CellRef {
pub row: u32,
pub col: u32,
}Expand description
A cell position, 0-based (B3 is row 2, column 1).
Fields§
§row: u32the row, 0-based
col: u32the column, 0-based
Implementations§
Trait Implementations§
impl Copy for CellRef
impl Eq for CellRef
Source§impl Ord for CellRef
impl Ord for CellRef
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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for CellRef
impl PartialOrd for CellRef
impl StructuralPartialEq for CellRef
Auto Trait Implementations§
impl Forget for CellRef
impl Freeze for CellRef
impl Move for CellRef
impl RefUnwindSafe for CellRef
impl Send for CellRef
impl Sync for CellRef
impl Unpin for CellRef
impl UnsafeUnpin for CellRef
impl UnwindSafe for CellRef
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