Struct syn_helpers::UnnamedField [−][src]
pub struct UnnamedField<'a> {
pub idx: usize,
pub attrs: &'a Vec<Attribute>,
pub ty: &'a Type,
// some fields omitted
}
Fields
idx: usize
attrs: &'a Vec<Attribute>
ty: &'a Type
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