Struct synstructure::BindingInfo [] [src]

pub struct BindingInfo<'a> {
    pub ident: Ident,
    pub field: &'a mut 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

Trait Implementations

impl<'a> Debug for BindingInfo<'a>
[src]

Formats the value using the given formatter.

impl<'a> ToTokens for BindingInfo<'a>
[src]