darling_core::derive

Function from_meta

source
pub fn from_meta(input: &DeriveInput) -> TokenStream
Expand description

Create tokens for a darling::FromMeta impl from a DeriveInput. If the input cannot produce a valid impl, the returned tokens will contain compile errors instead.