zerovec_derive::varule

Function derive_impl

source
pub fn derive_impl(
    input: &DeriveInput,
    custom_varule_validator: Option<TokenStream>,
) -> TokenStream
Expand description

Implementation for derive(VarULE). custom_varule_validator validates the last field bytes last_field_bytes if specified, if not, the VarULE implementation will be used.