Struct syn::ExprYield [−][src]
pub struct ExprYield { pub attrs: Vec<Attribute>, pub yield_token: Yield, pub expr: Option<Box<Expr>>, }
A yield expression: yield expr
.
This type is available only if Syn is built with the "full"
feature.
Fields
attrs: Vec<Attribute>
yield_token: Yield
expr: Option<Box<Expr>>
Trait Implementations
impl ToTokens for ExprYield
[src]
impl ToTokens for ExprYield
[src]