pub fn count_items(items: &[OutlineItem]) -> usizeExpand description
Number of outline items in the tree, counting all descendants.
Useful for sanity-checking and for sizing UI widgets without flattening the tree.
pub fn count_items(items: &[OutlineItem]) -> usizeNumber of outline items in the tree, counting all descendants.
Useful for sanity-checking and for sizing UI widgets without flattening the tree.