pub trait Unit: Copy + UnitPrivate { // Required method fn zero() -> Self; }
The generic unit type contained within Buffer slices.
This is a sealed trait. It’s only implemented for u8 and u32.
A Buffer with U = u8 is a Bytes buffer.
U = u8
A Buffer with U = u32 is a Ump buffer.
U = u32