Modules§
Constants§
Functions§
- make_
new_ compile_ error - make_
new_ spanned_ compile_ error - try_
derive_ input - Try parse
proc_macro::TokenStreamtosyn::DeriveInput. - try_
extract_ attribute_ args - @since 0.3.0 Try to extract the specified attribute value from an attribute macro.
- try_
extract_ attribute_ first_ args - @since 0.3.0 Try to extract the first attribute value from an attribute macro.
- try_
extract_ field_ attribute_ path_ attribute - Try to extract the specified path attribute value from a field’s attributes.
- try_
extract_ inner_ types - Try to extract the inner type of
syn::Type - try_
match_ fields - Try parse
syn::DeriveInputmatches fieldsPunctuated<Field, Comma>. - try_
parse_ named_ fields - Try parse
syn::DeriveInputnamed fieldsPunctuated<Field, Comma>. - try_
parse_ unnamed_ fields - Try parse
syn::DeriveInputunnamed fieldsPunctuated<Field, Comma>. - try_
predicate_ is_ ident - try_
predicate_ is_ not_ ident - try_
predicate_ is_ not_ option - Try to predicate that
syn::Typeis notcore::option::Option<T>type. - try_
predicate_ is_ not_ option_ and_ vec - Try to predicate that
syn::Typeis neither of typecore::option::Option<T>nor of typestd::vec::Vec<T> - try_
predicate_ is_ not_ vec - Try to predicate that
syn::Typeis notstd::vec::Vec<T>type. - try_
predicate_ is_ option - Try to predicate that
syn::Typeiscore::option::Option<T>type. - try_
predicate_ is_ type - try_
predicate_ is_ vec - Try to predicate that
syn::Typeisstd::vec::Vec<T>type. - try_
predicate_ path_ segments_ is_ empty - try_
predicate_ path_ segments_ is_ not_ empty - try_
unwrap_ option - Try unwrap
syn::Typecore::option::Option<T>inner types. - try_
unwrap_ types - try_
unwrap_ vec - Try unwrap
syn::TypeVecinner types.