formualizer-eval 0.5.4

High-performance Arrow-backed Excel formula engine with dependency graph and incremental recalculation
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use super::{AstNodeId, ValueRef};
use crate::{
    SheetId,
    engine::vertex::{VertexId, VertexKind},
};
use formualizer_common::Coord as AbsCoord;

/// Snapshot of a vertex's complete state for rollback purposes
#[derive(Debug, Clone)]
pub struct VertexSnapshot {
    pub coord: AbsCoord,
    pub sheet_id: SheetId,
    pub kind: VertexKind,
    pub flags: u8,
    pub value_ref: Option<ValueRef>,
    pub formula_ref: Option<AstNodeId>,
    pub out_edges: Vec<VertexId>,
}