pub trait BitStorage<Rhs = Self, Output = Self>:
Copy
+ Default
+ PartialEq
+ Eq
+ Display
+ Debug
+ Hash
+ Add<Rhs, Output = Output>
+ Sub<Rhs, Output = Output>
+ Mul<Rhs, Output = Output>
+ Div<Rhs, Output = Output>
+ Rem<Rhs, Output = Output>
+ Binary
+ Shl<usize, Output = Output>
+ Shr<usize, Output = Output>
+ BitAnd
+ BitAnd<Output = Self>
+ BitAndAssign
+ BitOr
+ BitOrAssign
+ BitXor
+ BitXorAssign
+ Not<Output = Self>
+ Sized
+ Send
+ Sync {
const BITS: usize;
const ONE: Self;
}Expand description
Trait for integer types which can be used at bit storage
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.