pub struct Change {
pub sheet: String,
pub addr: Address,
pub old: Value,
pub new: Value,
}Expand description
One cell whose evaluated value a recalc changed.
Returned (in deterministic order) by Workbook::recalc and
Workbook::recalc_incremental: the “change events” of v1, delivered as a
value rather than via a callback (value-object ADR). Ordering is pinned —
by sheet tab index, then row, then column (scope ADR Decision 3) — so
the change list is reproducible.
Fields§
§sheet: StringThe sheet’s name (its authored casing).
addr: AddressThe recomputed cell’s address.
old: ValueThe cell’s value before this recalc (the stored result).
new: ValueThe cell’s value after this recalc.
Trait Implementations§
impl StructuralPartialEq for Change
Auto Trait Implementations§
impl Freeze for Change
impl RefUnwindSafe for Change
impl Send for Change
impl Sync for Change
impl Unpin for Change
impl UnsafeUnpin for Change
impl UnwindSafe for Change
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