pub fn tree_needs_semantics(
applier: &mut (dyn Applier + 'static),
root: usize,
) -> Result<bool, NodeError>Expand description
Check if the root semantics snapshot is dirty.
Semantics invalidations bubble to the root the same way layout invalidations do, so a root check is sufficient to determine whether the next layout pass needs to rebuild semantic data even when geometry is otherwise unchanged.