Function darling_core::derive::from_type_param
source · pub fn from_type_param(input: &DeriveInput) -> TokenStream
Expand description
Create tokens for a darling::FromTypeParam
impl from a DeriveInput
. If
the input cannot produce a valid impl, the returned tokens will contain
compile errors instead.