Modules§
Constants§
Functions§
- make_
new_ compile_ error - make_
new_ spanned_ compile_ error - try_
derive_ input - Try parse
proc_macro::TokenStream
tosyn::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::DeriveInput
matches fieldsPunctuated<Field, Comma>
. - try_
parse_ named_ fields - Try parse
syn::DeriveInput
named fieldsPunctuated<Field, Comma>
. - try_
parse_ unnamed_ fields - Try parse
syn::DeriveInput
unnamed fieldsPunctuated<Field, Comma>
. - try_
predicate_ is_ ident - try_
predicate_ is_ not_ ident - try_
predicate_ is_ not_ option - Try to predicate that
syn::Type
is notcore::option::Option<T>
type. - try_
predicate_ is_ not_ option_ and_ vec - Try to predicate that
syn::Type
is neither of typecore::option::Option<T>
nor of typestd::vec::Vec<T>
- try_
predicate_ is_ not_ vec - Try to predicate that
syn::Type
is notstd::vec::Vec<T>
type. - try_
predicate_ is_ option - Try to predicate that
syn::Type
iscore::option::Option<T>
type. - try_
predicate_ is_ type - try_
predicate_ is_ vec - Try to predicate that
syn::Type
isstd::vec::Vec<T>
type. - try_
predicate_ path_ segments_ is_ empty - try_
predicate_ path_ segments_ is_ not_ empty - try_
unwrap_ option - Try unwrap
syn::Type
core::option::Option<T>
inner types. - try_
unwrap_ types - try_
unwrap_ vec - Try unwrap
syn::Type
Vec
inner types.