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 }
.
This type is available only if Syn is built with the "derive"
or
"full"
feature.
Fields
brace_token: Brace
named: Punctuated<Field, Comma>
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for FieldsNamed
impl !Send for FieldsNamed
impl !Sync for FieldsNamed
impl Unpin for FieldsNamed
impl UnwindSafe for FieldsNamed
Blanket Implementations
Mutably borrows from an owned value. Read more
Returns a Span
covering the complete contents of this syntax tree
node, or Span::call_site()
if this node is empty. Read more