pub unsafe trait EnumSetType:
Copy
+ Eq
+ EnumSetTypePrivate { }
Expand description
The trait used to define enum types that may be used with EnumSet
.
This trait must be impelmented using #[derive(EnumSetType)]
, is not public API, and its
internal structure may change at any time with no warning.
For full documentation on the procedural derive and its options, see
#[derive(EnumSetType)]
.
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.