pub trait PodEnum: Pod {
type Repr: Pod;
}
Expand description
A trait marking this type as a plain-old-data enum
This is intended to be implemented by the pod_enum
attribute macro, not to be
implemented on its own.
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.