pub unsafe trait PlainMapEnum: MapEnum {
type NatureInt: PrimaryUInt;
}Expand description
MapEnum type with can safe transmute into Self::NatureInt, will deprecated if const_trait_impl is stable,
usually should use #[derive(MapEnum)] to gen impl
§Safety
Implementors must ensure that Self can be safely transmuted to Self::NatureInt.
Required Associated Types§
type NatureInt: PrimaryUInt
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".