pub trait OptionSet:
Copy
+ Default
+ Eq
+ BitAnd<Output = Self>
+ BitOrAssign
+ 'static {
const VARIANTS: &'static [Self];
const NAMES: &'static [&'static str];
}
Expand description
Trait for bit flags that forwards to std traits for useful bit operators.
Required Associated Constants§
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.