Derive Macro ToBytes
Source #[derive(ToBytes)]
{
#[nuts_bytes]
}
Expand description
Derive macro implementation of the ToBytes
trait.
This derive macro generates a ToBytes
implementation for struct
and
enum
types. union
types are currently not supported.