Constant shard_ecs::MAX_ARCHETYPE_COUNT[][src]

pub const MAX_ARCHETYPE_COUNT: usize = 65535;
Expand description

Max amount of unique archetypes that can exist. Defined to be 2^16 - 1. Therefore, a u16 can be used to store the index of the archetype. u16::MAX is used to mark validness of such an archetype index.