pub struct CellAddr {
pub col: u32,
pub row: u32,
}Expand description
A1-style cell address with 1-based column and row.
A1 → CellAddr { col: 1, row: 1 }, BC42 → CellAddr { col: 55, row: 42 }.
Fields§
§col: u321-based column index (A = 1, Z = 26, AA = 27).
row: u321-based row index.
Implementations§
Trait Implementations§
impl Copy for CellAddr
impl Eq for CellAddr
impl StructuralPartialEq for CellAddr
Auto Trait Implementations§
impl Freeze for CellAddr
impl RefUnwindSafe for CellAddr
impl Send for CellAddr
impl Sync for CellAddr
impl Unpin for CellAddr
impl UnsafeUnpin for CellAddr
impl UnwindSafe for CellAddr
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