Struct macrohelper::bodykind::field::Field [] [src]

pub struct Field {
    pub id: Option<String>,
    pub ty: Ty,
}

Fields

Methods

impl Field
[src]

Build a field from the syn crate field type

Trait Implementations

impl Clone for Field
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Field
[src]

Formats the value using the given formatter.