pub trait Flags:
BitOr<Self, Output = Self>
+ BitOrAssign<Self>
+ Debug
+ Default
+ Shareable {
// Required method
fn exclude(self, other: Self) -> Self;
}Expand description
A type that can be treated as flags.
Automatically implemented on types implementing all three bitwise operations &|^.
Required Methods§
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.