pub trait SpawnBsml {
// Required methods
fn spawn_bsml<'a, T: BsmlElement>(
&'a mut self,
node: T,
) -> EntityCommands<'a>;
fn despawn_bsml(&mut self, entity: Entity);
}
Required Methods§
fn spawn_bsml<'a, T: BsmlElement>(&'a mut self, node: T) -> EntityCommands<'a>
fn despawn_bsml(&mut self, entity: Entity)
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.