Function encoding_derive_helpers::decode_derive
source · [−]pub fn decode_derive(
attr_name: &'static str,
crate_name: Ident,
trait_name: Ident,
decode_name: Ident,
deserialize_name: Ident,
input: DeriveInput,
tlv_encoding: bool
) -> Result<TokenStream2>
Expand description
Performs actual derivation of the decode trait using the provided information about trait parameters and requirements for TLV support.
You will find example of the function use in the crate top-level documentation.