Trait legion::storage::ArchetypeSource [−][src]
Defines a type which can describe the layout of an archetype.
Associated Types
type Filter: LayoutFilter
[src]
A filter which finds existing archetypes which match the layout.
Required methods
fn filter(&self) -> Self::Filter
[src]
Returns the archetype source’s filter.
fn layout(&mut self) -> EntityLayout
[src]
Constructs a new entity layout.