Trait ChildPusher

Source
pub trait ChildPusher<'w, 's, 'a>: ParentCommands<'w, 's, 'a> {
    // Provided method
    fn push_children(&mut self, children: &[Entity]) -> &mut Self { ... }
}

Provided Methods§

Source

fn push_children(&mut self, children: &[Entity]) -> &mut Self

Add multiple children to the current entity by id.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<'w, 's, 'a> ChildPusher<'w, 's, 'a> for ChildCommands<'w, 's, 'a>

Source§

impl<'w, 's, 'a> ChildPusher<'w, 's, 'a> for RootCommands<'w, 's, 'a>