Trait SpawnChildBatchExt

Source
pub trait SpawnChildBatchExt {
    // Required method
    fn with_child_batch<I>(
        &mut self,
        parent: Entity,
        iter_bundles: I,
    ) -> &mut Self
       where I: IntoIterator + Send + Sync + 'static,
             I::Item: Bundle;
}

Required Methods§

Source

fn with_child_batch<I>(&mut self, parent: Entity, iter_bundles: I) -> &mut Self
where I: IntoIterator + Send + Sync + 'static, I::Item: Bundle,

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.

Implementations on Foreign Types§

Source§

impl<'w, 's> SpawnChildBatchExt for Commands<'w, 's>

Source§

fn with_child_batch<I>(&mut self, parent: Entity, bundles_iter: I) -> &mut Self
where I: IntoIterator + Send + Sync + 'static, I::Item: Bundle,

Implementors§