pub struct CellRef {
pub sheet: String,
pub addr: Address,
}Expand description
A fully resolved cell coordinate: a sheet (by its position-independent,
case-folded name) and an in-bounds Address.
Sheets are keyed by folded name, not tab index, so the key survives a
sheet move (P3.1 move_sheet) and matches the case-insensitive sheet
lookup of Workbook::sheet. A rename changes the
key, which is why a rename forces a graph rebuild (see the module docs and
DependencyGraph::build).
Fields§
§sheet: StringThe target sheet’s name, simple-case-folded (schema spec §2).
addr: AddressThe in-bounds A1 address within that sheet.
Trait Implementations§
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
Source§impl PartialOrd for CellRef
impl PartialOrd for CellRef
impl StructuralPartialEq for CellRef
Auto Trait Implementations§
impl Freeze 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