Derive Macro ToBytes

Source
#[derive(ToBytes)]
{
    // Attributes available to this derive:
    #[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.