pub trait BitsPrimitive:
Sealed
+ Copy
+ PartialEq
+ BitAnd<Output = Self>
+ BitOr<Output = Self>
+ BitXor<Output = Self>
+ Not<Output = Self>
+ BitAndAssign
+ BitOrAssign
+ BitXorAssign
+ Binary
+ LowerHex
+ UpperHex
+ Octal
+ Sized
+ 'static {
const EMPTY: Self;
const ALL: Self;
}
Expand description
Primitive types that can be used with bitflag
attribute implement this trait.
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.