Crate array_as_struct

Source
Expand description

Procedural macro to make array-types with simulated fields

Traits§

ArrayStruct
A trait to name all the associated types and simplify the conversion to and from the helper types.

Attribute Macros§

array_as_struct
A derive-like macro which replaces a field-struct declaration with a tuple-struct declaration containing a single array. All fields in the original declaration must share the same type.