Trait bevy::prelude::BuildChildren [−]
Required methods
pub fn with_children(
&mut self,
f: impl FnOnce(&mut ChildBuilder<'_, '_>)
) -> &mut Self
&mut self,
f: impl FnOnce(&mut ChildBuilder<'_, '_>)
) -> &mut Self
pub fn push_children(&mut self, children: &[Entity]) -> &mut Self
pub fn insert_children(
&mut self,
index: usize,
children: &[Entity]
) -> &mut Self
&mut self,
index: usize,
children: &[Entity]
) -> &mut Self
Implementors
impl<'a, 'b> BuildChildren for EntityCommands<'a, 'b>
pub fn with_children(
&mut self,
spawn_children: impl FnOnce(&mut ChildBuilder<'_, '_>)
) -> &mut EntityCommands<'a, 'b>
&mut self,
spawn_children: impl FnOnce(&mut ChildBuilder<'_, '_>)
) -> &mut EntityCommands<'a, 'b>
pub fn push_children(
&mut self,
children: &[Entity]
) -> &mut EntityCommands<'a, 'b>
&mut self,
children: &[Entity]
) -> &mut EntityCommands<'a, 'b>
pub fn insert_children(
&mut self,
index: usize,
children: &[Entity]
) -> &mut EntityCommands<'a, 'b>
&mut self,
index: usize,
children: &[Entity]
) -> &mut EntityCommands<'a, 'b>