Enum syn_helpers::NamedOrUnnamedField [−][src]
pub enum NamedOrUnnamedField<'a, 'b> {
Named(&'a mut NamedField<'b>),
Unnamed(&'a mut UnnamedField<'b>),
}
Variants
Named(&'a mut NamedField<'b>)
Tuple Fields
0: &'a mut NamedField<'b>
Unnamed(&'a mut UnnamedField<'b>)
Tuple Fields
0: &'a mut UnnamedField<'b>
Trait Implementations
Get a expression which refers to this field. Note that reference takes the form _
+ index of field, this is
to prevent possible clashes with parameter names Read more
Same as Field::get_reference
but a alternate reference for pair building
Get a pattern for reading this field
For pair building