Struct shard_ecs::descriptors::component_group_descriptor::ComponentGroupDescriptor [−][src]
pub struct ComponentGroupDescriptor { /* fields omitted */ }
Expand description
Describes a group of components. Also contains mappings to and from sorted and unsorted variants. The reason for this is that a component group as type may have a different ordering of tuple elements, but in the ECS itself it should still be the same group. The mappings in this struct describe how to map from and to those variants. As such, each unique ordering of components in a tuple has it’s own component group descriptor.