Trait moonshine_spawn::WithChildren
source · pub trait WithChildren: Bundle + Sized {
// Required method
fn with_children(
self,
f: impl FnOnce(&mut SpawnChildBuilder<'_>)
) -> (Self, SpawnChildren);
}Expand description
Required Methods§
fn with_children( self, f: impl FnOnce(&mut SpawnChildBuilder<'_>) ) -> (Self, SpawnChildren)
Object Safety§
This trait is not object safe.