pub trait BitContainer<const L: usize>: Not<Output = Self> + BitAnd<Output = Self> + BitOr<Output = Self> + BitXor<Output = Self> + Add<Output = Self> + Sub<Output = Self> + Eq + Sized + Copy + Clone + Debug + From<Self::Element> + From<[Self::Element; L]> {
    type Element: BitContainerElement;

    const BIT_WIDTH: usize;
    const ELEMENT_BIT_WIDTH: usize;
    const LANES: usize;
    const ZERO_ELEMENT: Self::Element;
    const ONE_ELEMENT: Self::Element;
    const MAX_ELEMENT: Self::Element;
    const ZERO: Self;
    const MAX: Self;

    fn to_array(self) -> [Self::Element; L];
fn and_inplace(&mut self, rhs: &Self);
fn or_inplace(&mut self, rhs: &Self);
fn xor_inplace(&mut self, rhs: &Self); }

Associated Types

Associated Constants

Required methods

Implementations on Foreign Types

Implementors