pub trait InsertMany<T> {
type Output;
// Required method
fn insert_many(&mut self, entity: Entity, value: T) -> Self::Output;
}Expand description
Required Associated Types§
Required Methods§
Sourcefn insert_many(&mut self, entity: Entity, value: T) -> Self::Output
fn insert_many(&mut self, entity: Entity, value: T) -> Self::Output
Adds components to the entity.
If the entity already had some components their values are updated and the old values are
returned.