pub struct TreeBuilderAt<'a, 'b, T> { /* fields omitted */ }
Expand description

A wrapper to help spawn children for a given entity more ergonomically

Created by TreeBuilder::spawn_tree

Implementations

Immutably borrows the wrapped &mut World from the contained RefCell.

Panics

Panics if the value is currently mutably borrowed.

Mutably borrows the wrapped &mut World from the contained RefCell.

Panics

Panics if the value is currently borrowed.

Spawns an entity, without actually attaching it to anything.

Spawns a child under the currenty entity, returning the Entity. If the Entity isn’t required, you can use attach_new instead, which supports method chaining.

Attaches a child to the current entity.

Spawns a new child entity under the current entity.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.