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.

Implementations

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.