[][src]Trait bevy::prelude::BuildChildren

pub trait BuildChildren {
    fn with_children(
        &mut self,
        f: impl FnMut(&mut ChildBuilder<'_>)
    ) -> &mut Self;
fn push_children(
        &mut self,
        parent: Entity,
        children: &[Entity]
    ) -> &mut Self;
fn insert_children(
        &mut self,
        parent: Entity,
        index: usize,
        children: &[Entity]
    ) -> &mut Self; }

Required methods

fn with_children(&mut self, f: impl FnMut(&mut ChildBuilder<'_>)) -> &mut Self

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

fn insert_children(
    &mut self,
    parent: Entity,
    index: usize,
    children: &[Entity]
) -> &mut Self

Loading content...

Implementors

impl BuildChildren for Commands[src]

impl<'a> BuildChildren for ChildBuilder<'a>[src]

Loading content...