[][src]Module darling_core::derive

Functions to derive darling's traits from well-formed input, without directly depending on proc_macro.

Functions

from_derive_input

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

from_field

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.

from_meta

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.

from_type_param

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.

from_variant

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.