Crate darling_core [] [src]

Re-exports

pub use error::Error;
pub use error::Result;

Modules

ast

Utility types for working with the AST.

codegen
error

Types for working with darling errors and results.

options
util

Utility types for attribute parsing.

Traits

FromDeriveInput

Creates an instance by parsing an entire proc-macro derive input, including the, identity, generics, and visibility of the type.

FromField

Creates an instance by parsing an individual field and its attributes.

FromGenericParam

Creates an instance by parsing a specific syn::GenericParam. This can be a type param, a lifetime, or a const param.

FromGenerics

Creates an instance by parsing an entire generics declaration, including the where clause.

FromMeta

Create an instance from an item in an attribute declaration.

FromTypeParam

Creates an instance by parsing an individual type_param and its attributes.

FromVariant

Creates an instance from a specified syn::Variant.