Crate byte_struct_derive

Source
Expand description

§Derive macro for Byte Struct

This crate provides macros for deriving the ByteStruct trait defined in the byte_struct crate.

See #[derive(ByteStruct)] for using the macro.

Derive Macros§

ByteStruct
Derives trait ByteStruct for a data structure.
ByteStructBEDeprecated
Same effect as #[derive(ByteStruct)] #[byte_struct_be]
ByteStructLEDeprecated
Same effect as #[derive(ByteStruct)] #[byte_struct_le]