pub trait StrongType:
Debug
+ PartialEq
+ PartialOrd
+ Clone
+ Default
+ Send
+ Sync {
type UnderlyingType: Default;
type PrimitiveType;
}Expand description
Trait for strong types to obtain the associated underlying type and primitive type.
Required Associated Types§
type UnderlyingType: Default
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.