pub trait BitArithmetic:
Sized
+ Copy
+ Shl<Output = Self>
+ ShlAssign
+ Shr<Output = Self>
+ ShrAssign
+ BitOr<Output = Self>
+ BitOrAssign
+ BitAnd<Output = Self>
+ BitAndAssign
+ BitXor<Output = Self>
+ BitXorAssign
+ Not<Output = Self> { }Expand description
For every type that support bit based operation (and &, or |, xor ^, not !, shift << / >>…)
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".