Function type_dispatch::derive::derive_trait
source · pub fn derive_trait(
config: &DeriveTrait,
receiver: DeriveInputReceiver
) -> TokenStream
Expand description
Derives a trait using the given configuration and input.