Enum sixtyfps_corelib::item_tree::ItemTreeNode [−][src]
#[repr(u8)] pub enum ItemTreeNode<T> { Item { item: VOffset<T, ItemVTable, AllowPin>, chilren_count: u32, children_index: u32, parent_index: u32, }, DynamicTree { index: usize, parent_index: u32, }, }
The item tree is an array of ItemTreeNode representing a static tree of items within a component.
Variants
Static item
Show fields
Fields of Item
item: VOffset<T, ItemVTable, AllowPin>
byte offset where we can find the item (from the *ComponentImpl)
chilren_count: u32
number of children
children_index: u32
index of the first children within the item tree
parent_index: u32
The index of the parent item (not valid for the root)
A placeholder for many instance of item in their own component which are instantiated according to a model.
Show fields
Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for ItemTreeNode<T>
impl<T> RefUnwindSafe for ItemTreeNode<T>
impl<T> Send for ItemTreeNode<T>
impl<T> Send for ItemTreeNode<T>
impl<T> Sync for ItemTreeNode<T>
impl<T> Sync for ItemTreeNode<T>
impl<T> Unpin for ItemTreeNode<T>
impl<T> Unpin for ItemTreeNode<T>
impl<T> UnwindSafe for ItemTreeNode<T>
impl<T> UnwindSafe for ItemTreeNode<T>