Trait legion::storage::ComponentSource[][src]

pub trait ComponentSource: ArchetypeSource {
    fn push_components<'a>(
        &mut self,
        writer: &mut ArchetypeWriter<'a>,
        entities: impl Iterator<Item = Entity>
    ); }
Expand description

Describes a type which can write entity components into a world.

Required methods

Writes components for new entities into an archetype.

Implementors