class

Egui::ComputedCell

Inherits Egui::ComputedBase < Egui::ReactiveNode < Reference < Object

Untyped computed cell — the bookkeeping half the computed macro needs. The cached value lives in the macro-generated ivar (its type is inferred from the inlined block body), so the cell only tracks dirty state and read dependencies — no erased value copy, no generic type to spell out at declaration time.

Instance methods

begin_compute

Recompute prologue: recursion check, drop the previous run's edges, start tracking reads. Pairs with #settle (success) or #unpush (the block raised).

Source
settle

Recompute success epilogue: stop tracking, clear dirty. Whether the value changed (and downstream should be notified) is the caller's call — only it sees the typed old/new pair.

Source
unpush
Source