Struct hecs_hierarchy::TreeBuilderClone
source · [−]pub struct TreeBuilderClone<T> { /* private fields */ }
Expand description
Cloneable version of the crate::TreeBuilder
Implementations
Reserve the entity which this node will spawn
Spawn the whole tree into a commandbuffer. The world is required for reserving entities.
Add a component to the root
Add a bundle to the root
Atttach a new subtree
Consuming variant of Self::attach.
This is useful for nesting to alleviate the need to save an intermediate builder
Consuming variant of Self::attach_tree. This is useful for nesting to alleviate the need to save an intermediate builder
Get a reference to the deferred tree builder’s children.
Get a reference to the deferred tree builder’s root.
Get a mutable reference to the deferred tree builder’s builder.
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl<T> RefUnwindSafe for TreeBuilderClone<T> where
T: RefUnwindSafe,
impl<T> Send for TreeBuilderClone<T> where
T: Send,
impl<T> Sync for TreeBuilderClone<T> where
T: Sync,
impl<T> Unpin for TreeBuilderClone<T> where
T: Unpin,
impl<T> UnwindSafe for TreeBuilderClone<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more