Crate packbytes_derive
source ·Expand description
Derive macros for the packbytes
crate.
Derive Macros§
- Derive the
FromBytes
trait for structs where each field implements it. - Derive the
ToBytes
trait for structs where each field implements it and fieldless enums. - Derive the
TryFromBytes
trait for structs where each field implements it and fieldless enums.