pub fn from_field(input: &DeriveInput) -> TokenStream
Expand description
Create tokens for a darling::FromField
impl from a DeriveInput
. If
the input cannot produce a valid impl, the returned tokens will contain
compile errors instead.
pub fn from_field(input: &DeriveInput) -> TokenStream
Create tokens for a darling::FromField
impl from a DeriveInput
. If
the input cannot produce a valid impl, the returned tokens will contain
compile errors instead.