StrongType

Trait StrongType 

Source
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§

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.

Implementors§