pub trait ShapeOf<Alg> {
type Shape;
// Required method
fn shape_of(alg: &Alg) -> Self::Shape;
}Expand description
States a type’s shape in whichever vocabulary an interpretation provides.
The bound sits on the impl, so the trait itself demands nothing of its algebra.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".