pub trait Declared: Shaped {
const SHAPE: Shape;
// Provided method
fn shape() -> &'static Shape { ... }
}Expand description
A type wire! or wire_impl!
declared, whose Shape is data.
Required Associated Constants§
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".