Trait moonshine_spawn::SpawnCommands
source · pub trait SpawnCommands {
// Required methods
fn spawn_with<T>(&mut self, spawnable: T) -> EntityCommands<'_>
where T: 'static + Send + Sync + SpawnOnce;
fn spawn_with_key(&mut self, key: impl Into<SpawnKey>) -> EntityCommands<'_>;
}Required Methods§
fn spawn_with<T>(&mut self, spawnable: T) -> EntityCommands<'_>
fn spawn_with_key(&mut self, key: impl Into<SpawnKey>) -> EntityCommands<'_>
Object Safety§
This trait is not object safe.