Trait pyro::RegisterComponent
source · pub trait RegisterComponent {
fn register_component<C: Component>(&mut self);
}
Expand description
A Storage
won’t have any arrays or vectors when it is created. RegisterComponent
can
register or add those component arrays. See also EmptyStorage::register_component