Module displayed_item_tree

Source

Structs§

DisplayedItemTree
Tree if items to be displayed
Info
ItemIndex
N-th item, may currently be invisible, becomes invalid after any add/remove/move operation
Node
TargetPosition
VisibleItemIndex
N-th visible item, becomes invalid after any add/remove/move/fold/unfold operation
VisibleItemIterator
VisibleItemIteratorExtraInfo
VisibleItemIteratorMut

Enums§

MoveError

Functions§

check_location 🔒
Check whether target_position is a valid location for insertion
next_visible_item 🔒
Find the index of the next visible item, or return items.len()
shift_subtree_to_level 🔒