pub trait StrongType:
Debug
+ PartialEq
+ PartialOrd
+ Clone {
type UnderlyingType;
type PrimitiveType;
}Expand description
Trait for strong types to obtain the associated underlying type and primitive type.
Required Associated Types§
type UnderlyingType
type PrimitiveType
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.