pub trait Struct { type Packed; type Unpacked; }
Types derived using this crate implement this trait. One can refer to the types use for packing/unpacking using e.g. <Self as restruct::Struct>::Packed
<Self as restruct::Struct>::Packed
The type used for the packed form, a [u8; _]-array.
The type used for the unpacked form, a tuple.