Crate byteable_derive

Crate byteable_derive 

Source
Expand description

Procedural macro for deriving the Byteable trait.

This crate provides the #[derive(UnsafeByteableTransmute)] procedural macro for automatically implementing the Byteable trait on structs.

Derive Macrosยง

Byteable
Derives a delegate pattern for Byteable by generating a raw struct with endianness markers.
UnsafeByteableTransmute
Derives the Byteable trait for a struct using transmute.