pub trait ComponentsStorage<'a, R: Components> {
type Storage: Cons;
// Required method
fn components(registry: &'a R) -> Self::Storage;
}Expand description
Trait for getting archetype component storages.
Required Associated Types§
Required Methods§
Sourcefn components(registry: &'a R) -> Self::Storage
fn components(registry: &'a R) -> Self::Storage
Gets the storage represented by self.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.