Enum i_slint_core::item_tree::ItemTreeNode
source · #[repr(u8)]
pub enum ItemTreeNode {
Item {
is_accessible: bool,
children_count: u32,
children_index: u32,
parent_index: u32,
item_array_index: u32,
},
DynamicTree {
index: usize,
parent_index: u32,
},
}Expand description
The item tree is an array of ItemTreeNode representing a static tree of items within a component.
Variants§
Item
Fields
Static item
DynamicTree
Fields
A placeholder for many instance of item in their own component which are instantiated according to a model.