[][src]Crate macro_input

Structs

FieldDef

a field definition

FieldDefs

FieldDefs is a collection of FieldDefs

StructLint

a lint for [syn::ItemStruct] or [syn::DeriveInput]

Type

the type of a field

Enums

DefaultValue

a default value for a FieldDef

Types

all the types a field can contain

Traits

FromLit

a trait for extracting a value from a literal

FromMeta

a trait for extracting a value from Option<syn::Meta>

Derive Macros

MacroInput

automatically derive From<&[syn::Attribute]>, fn lint() -> &'static impl Lint<Vec<syn::Attribute>> and fn strip(attrs: &mut Vec<syn::Attribute>)