pub trait DeclaredComponentShape: ComponentShapeMetadata { }Expand description
Marker for component shapes declared through a trusted declaration surface.
Backend crates implement this for shapes declared by their public macros or other trusted declaration APIs. Hand-written runtime implementations should not automatically satisfy this marker unless that backend explicitly accepts them as declared shapes.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".