pub struct ReactiveCell {
pub id: usize,
pub name: String,
pub decl: CellDecl,
pub dependencies: Vec<String>,
pub dependents: Vec<usize>,
pub value: Value,
pub is_dirty: bool,
pub is_temporal: bool,
}Expand description
A compiled reactive cell node.
Fields§
§id: usizeUnique identifier / index in graph.
name: StringCell identifier name.
decl: CellDeclThe original declaration AST.
dependencies: Vec<String>Names of variables and cells this cell depends on.
dependents: Vec<usize>Indices of cells that depend on this cell (downstream).
value: ValueCurrent evaluated cached value.
is_dirty: boolTrue if the cell needs re-evaluation.
is_temporal: boolTrue if this cell takes time/clock input parameters (e.g. t: Instant).
Trait Implementations§
Source§impl Clone for ReactiveCell
impl Clone for ReactiveCell
Auto Trait Implementations§
impl Freeze for ReactiveCell
impl RefUnwindSafe for ReactiveCell
impl Send for ReactiveCell
impl Sync for ReactiveCell
impl Unpin for ReactiveCell
impl UnsafeUnpin for ReactiveCell
impl UnwindSafe for ReactiveCell
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