new

Creates a new [ComponentId]. The index is a unique value associated with each type of component in a given world. Usually, this value is taken from a counter incremented for each type of component registered with the world.

Arguments

  • index : usize - No Documentation 🚧

Returns

  • arg0 : ComponentId - No Documentation 🚧