pub trait Struct {
    type Packed;
    type Unpacked;
}
Expand description

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

Associated Types

The type used for the packed form, a [u8; _]-array.

The type used for the unpacked form, a tuple.

Implementors