Trait pyro::BuildStorage
source · pub trait BuildStorage {
fn build<S: Storage + RegisterComponent>(id: StorageId) -> EmptyStorage<S>;
}
Expand description
BuildStorage
is used to create different Storage
s at runtime. See also
AppendComponents
and World::append_components