pub trait BitStorage:
Copy
+ Eq
+ Default
+ BitAnd<Output = Self>
+ BitOr<Output = Self>
+ BitOrAssign
+ Shl<u32, Output = Self>
+ Sub<Output = Self> {
const WIDTH: u32;
// Required methods
fn one() -> Self;
fn is_zero(self) -> bool;
fn count_ones(self) -> u32;
fn trailing_zeros(self) -> u32;
}Required Associated Constants§
Required Methods§
fn one() -> Self
fn is_zero(self) -> bool
fn count_ones(self) -> u32
fn trailing_zeros(self) -> u32
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".