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
- Derives trait
ByteStruct
for a data structure. - ByteStructBEDeprecatedSame effect as
#[derive(ByteStruct)] #[byte_struct_be]
- ByteStructLEDeprecatedSame effect as
#[derive(ByteStruct)] #[byte_struct_le]