Struct syn::ExprClosure [−][src]
A closure expression: |a, b| a + b
.
This type is available if Syn is built with the "full"
feature.
Fields
attrs: Vec<Attribute>
movability: Option<Static>
capture: Option<Move>
or1_token: Or
inputs: Punctuated<FnArg, Comma>
or2_token: Or
output: ReturnType
body: Box<Expr>
Trait Implementations
impl ToTokens for ExprClosure
[src]
[+]
impl ToTokens for ExprClosure
impl Clone for ExprClosure
[src]
[+]
impl Clone for ExprClosure
impl From<ExprClosure> for Expr
[src]
[+]
impl From<ExprClosure> for Expr
Auto Trait Implementations
impl !Send for ExprClosure
impl !Send for ExprClosure
impl !Sync for ExprClosure
impl !Sync for ExprClosure