Function darling_core::derive::from_variant [−][src]
pub fn from_variant(input: &DeriveInput) -> TokenStream
Create tokens for a darling::FromVariant
impl from a DeriveInput
. If
the input cannot produce a valid impl, the returned tokens will contain
compile errors instead.