Skip to main content

first_dangling_leaf_id

Function first_dangling_leaf_id 

Source
fn first_dangling_leaf_id(
    node: &LayoutNode,
    live_block_ids: &HashSet<String>,
) -> Option<String>
Expand description

First leaf (depth-first) whose data.block_id is set but not present in live_block_ids. data.block_id is only ever non-empty on leaves — container/group nodes have data: None (see ensure_group_node).