Function enso_macro_utils::field_ident_token [−][src]
pub fn field_ident_token(field: &Field, index: Index) -> TokenStream
Expand description
Returns token that refers to the field.
It is the field name for named field and field index for unnamed fields.