Trait bevy_internal::ecs::component::ComponentStorage
source · pub trait ComponentStorage: Sealed {
const STORAGE_TYPE: StorageType;
}
Expand description
Types used to specify the storage strategy for a component.
This trait is implemented for TableStorage
and SparseStorage
.
Custom implementations are forbidden.
Required Associated Constants§
sourceconst STORAGE_TYPE: StorageType
const STORAGE_TYPE: StorageType
A value indicating the storage strategy specified by this type.
Object Safety§
This trait is not object safe.