pub trait Storage: Default {
type Preformed;
}Expand description
Defines the storage interface for entities being constructed using a forming pattern.
This trait is required for any storage type that temporarily holds data during the construction
of an entity. It mandates the implementation of Default, ensuring that storage can be initialized
to a default state at the start of the forming process.
Required Associated Types§
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.