Struct syn::ExprStruct [−][src]
A struct literal expression: Point { x: 1, y: 1 }
.
The rest
provides the value of the remaining fields as in S { a: 1, b: 1, ..rest }
.
This type is available if Syn is built with the "full"
feature.
Fields
attrs: Vec<Attribute>
path: Path
brace_token: Brace
fields: Punctuated<FieldValue, Comma>
dot2_token: Option<Dot2>
rest: Option<Box<Expr>>
Trait Implementations
impl Synom for ExprStruct
[src]
[+]
impl Synom for ExprStruct
impl ToTokens for ExprStruct
[src]
[+]
impl ToTokens for ExprStruct
impl Clone for ExprStruct
[src]
[+]
impl Clone for ExprStruct
impl From<ExprStruct> for Expr
[src]
[+]
impl From<ExprStruct> for Expr
Auto Trait Implementations
impl !Send for ExprStruct
impl !Send for ExprStruct
impl !Sync for ExprStruct
impl !Sync for ExprStruct