pub trait BitChunk: Sealed + PrimInt<Output = Self, Output = Self> + NativeType + Binary + ShlAssign + Not + ShrAssign<usize> + ShlAssign<usize> + Shl<usize> + BitAndAssign {
// Required methods
fn to_ne_bytes(self) -> Self::Bytes;
fn from_ne_bytes(v: Self::Bytes) -> Self;
}
Expand description
Required Methods§
fn to_ne_bytes(self) -> Self::Bytes
fn to_ne_bytes(self) -> Self::Bytes
convert itself into bytes.
fn from_ne_bytes(v: Self::Bytes) -> Self
fn from_ne_bytes(v: Self::Bytes) -> Self
convert itself from bytes.
Object Safety§
This trait is not object safe.