Module i_slint_core::item_tree

source ·
Expand description

This module contains the ItemTree and code that helps navigating it

Structs§

  • A range of indices
  • A ItemRc is holding a reference to a ItemTree containing the item, and the index of this item
  • The ItemTreeNodeArray provides tree walking code for the physical ItemTree stored in a ItemTree without stitching any inter-ItemTree links together!
  • Invariant, same as vtable::Inner: vtable and ptr has to be valid and ptr an instance matching the vtable
  • A ItemTree is representing an unit that is allocated together
  • Invariant, same as vtable::Inner: vtable and ptr has to be valid and ptr an instance matching the vtable
  • Object to be passed in visit_item_children method of the ItemTree.
  • A Weak reference to an item that can be constructed from an ItemRc.
  • The return value of the ItemTree::visit_children_item function

Enums§

Traits§

Functions§

Type Aliases§

  • Type alias to the commonly used VRc<ItemTreeVTable, Dyn>>
  • Alias for vtable::VRef<ItemTreeVTable> which represent a pointer to a dyn ItemTree with the associated vtable
  • Type alias to the commonly used Pin<VRef<ItemTreeVTable>>>
  • Type alias to the commonly used VWeak<ItemTreeVTable, Dyn>>
  • Type alias to vtable::VRefMut<ItemVisitorVTable>