Struct synstructure::BindingInfo
[−]
[src]
pub struct BindingInfo<'a> { pub ident: Ident, pub field: &'a Field, }
Information about a specific binding. This contains both an Ident
reference to the given field, and the syn &'a Field
descriptor for that
field.
This type supports quote::ToTokens
, so can be directly used within the
quote!
macro. It expands to a reference to the matched field.
Fields
ident: Ident
field: &'a Field