Skip to main content

sort_components

Function sort_components 

Source
fn sort_components(components: &mut [BundleComponent])
Expand description

Put a bundle’s components in type order, which is the order an archetype stores its columns in.

§Panics

When the same component appears twice.