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§

source

const STORAGE_TYPE: StorageType

A value indicating the storage strategy specified by this type.

Object Safety§

This trait is not object safe.

Implementors§