Struct syn::FieldValue [−][src]
A field-value pair in a struct literal.
This type is available if Syn is built with the "full"
feature.
Fields
attrs: Vec<Attribute>
Attributes tagged on the field.
member: Member
Name or index of the field.
colon_token: Option<Colon>
The colon in Struct { x: x }
. If written in shorthand like
Struct { x }
, there is no colon.
expr: Expr
Value of the field.
Trait Implementations
impl Synom for FieldValue
[src]
[+]
impl Synom for FieldValue
impl ToTokens for FieldValue
[src]
[+]
impl ToTokens for FieldValue
impl Clone for FieldValue
[src]
[+]
impl Clone for FieldValue
Auto Trait Implementations
impl !Send for FieldValue
impl !Send for FieldValue
impl !Sync for FieldValue
impl !Sync for FieldValue