pub trait BitChunk: Sealed + PrimInt + NativeType + Binary + ShlAssign + Not<Output = Self> + ShrAssign<usize> + ShlAssign<usize> + Shl<usize, Output = Self> + BitAndAssign {
    fn to_ne_bytes(self) -> Self::Bytes;
fn from_ne_bytes(v: Self::Bytes) -> Self; }
Expand description

A chunk of bits. This is used to create masks of a given length whose width is 1 bit. In simd_packed notation, this corresponds to m1xY.

Required methods

convert itself into bytes.

convert itself from bytes.

Implementations on Foreign Types

Implementors