pub trait BitwiseOps {
// Required methods
fn bitand(self, other: Self) -> Self;
fn bitor(self, other: Self) -> Self;
fn bitxor(self, other: Self) -> Self;
fn inv(self) -> Self;
}Expand description
Describes bitwise operations. If num_traits has this, we do not need our own implementation: https://github.com/rust-num/num-traits/issues/232
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.