Crate pinenut_derive

Crate pinenut_derive 

Source
Expand description

The internal derive crate for Pinenut. Implements the following derive macros: pinenut_derive::Builder, pinenut_derive::Encode, pinenut_derive::Decode.

Derive Macrosยง

Builder
Derive Macro to automatically implement the Builder Pattern for structs that already implement the Default and Clone traits.
Decode
Derive Macro to automatically implement the Decode trait for structs.
Encode
Derive Macro to automatically implement the Encode trait for structs.