pub trait DefaultValueStorage<T>: ValueStorage<T> {
// Required method
fn default_storage() -> Self::Storage;
}Expand description
Storage policies that can synthesize missing/default value-holder storage.
Required Methods§
Sourcefn default_storage() -> Self::Storage
fn default_storage() -> Self::Storage
Construct a missing/default value-holder field.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".