pub trait Packed: Copy + Sized + AsRef<[u8]> + AsMut<[u8]> + IndexMut<usize, Output = u8> + for<'a> TryFrom<&'a [u8]> {
const LENGTH: usize;
// Required method
fn zero() -> Self;
}
Expand description
A byte slice (e.g. [u8; 8]
) denoting types that represent complete packs.
Required Associated Constants§
Required Methods§
Object Safety§
This trait is not object safe.