pub struct TestApplierGuard<'a> { /* private fields */ }Methods from Deref<Target = MemoryApplier>§
pub fn slots(&mut self) -> &mut SlotTable
Sourcepub fn scene_node_attached_to(
&mut self,
node_id: usize,
root: usize,
) -> Option<usize>
pub fn scene_node_attached_to( &mut self, node_id: usize, root: usize, ) -> Option<usize>
Drains the parents recorded via Applier::record_structural_change,
keeping only nodes still attached to root (a parent that was itself
removed is covered by its own surviving ancestor’s record). A virtual
parent — a subcompose slot wrapper the render graph never contains —
is reported as its nearest non-virtual ancestor: that is the node
whose graph child set the change altered, and an id the graph cannot
resolve would force the scoped scene update to give up and rebuild.
Resolves a scene-scope candidate the way structural records are
resolved: to its nearest non-virtual ancestor, and only while still
attached to root. A node detached after recording must not reach the
scoped scene update — an id the graph cannot resolve forces it to give
up and rebuild the whole scene.