[][src]Trait restruct::Struct

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

Associated Types

type Packed

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

type Unpacked

The type used for the unpacked form, a tuple.

Loading content...

Implementors

Loading content...