[−][src]Enum sixtyfps_corelib::item_tree::ItemTreeNode
The item tree is an array of ItemTreeNode representing a static tree of items within a component.
Variants
Static item
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
A placeholder for many instance of item in their own component which are instantiated according to a model.
Fields of DynamicTree
index: usize
the undex which is passed in the visit_dynamic callback.
Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for ItemTreeNode<T>
impl<T> Send for ItemTreeNode<T>
impl<T> Sync for ItemTreeNode<T>
impl<T> Unpin for ItemTreeNode<T>
impl<T> UnwindSafe for ItemTreeNode<T>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,