Struct syn::FieldsNamed
source · pub struct FieldsNamed {
pub brace_token: Brace,
pub named: Punctuated<Field, Comma>,
}
Expand description
Named fields of a struct or struct variant such as Point { x: f64, y: f64 }
.
Fields§
§brace_token: Brace
§named: Punctuated<Field, Comma>
Trait Implementations§
source§impl From<FieldsNamed> for Fields
impl From<FieldsNamed> for Fields
source§fn from(e: FieldsNamed) -> Fields
fn from(e: FieldsNamed) -> Fields
Converts to this type from the input type.