pub trait Packed: Copy + Sized + AsRef<[u8]> + AsMut<[u8]> + IndexMut<usize, Output = u8> + for<'a> TryFrom<&'a [u8]> {
const LENGTH: usize;
fn zero() -> Self;
}
Expand description
A byte slice (e.g. [u8; 8]
) denoting types that represent complete packs.