pub trait EnumBit {
// Required methods
fn bit_ones(self, n: usize) -> impl Iterator<Item = usize>;
fn bit_zeros(self, n: usize) -> impl Iterator<Item = usize>;
}
Expand description
bit_ones
とbit_zeros
を提供する。
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.