pub trait ComponentValueStoragePolicy: ValueStoragePolicy {
const REQUIRES_VALUE: bool;
}Expand description
Marker trait for a component shape’s generated value-holder storage policy.
Required Associated Constants§
Sourceconst REQUIRES_VALUE: bool
const REQUIRES_VALUE: bool
Whether a missing generated value-holder value is invalid by default.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".