Trait bitvec_simd::BitContainerElement
source · [−]pub trait BitContainerElement {
const BIT_WIDTH: usize;
const ZERO: Self;
const ONE: Self;
const MAX: Self;
fn count_ones(self) -> u32;
fn leading_zeros(self) -> u32;
fn wrapping_shl(self, rhs: u32) -> Self;
fn wrapping_shr(self, rhs: u32) -> Self;
fn clear_high_bits(self, rhs: u32) -> Self;
fn clear_low_bits(self, rhs: u32) -> Self;
}