pub struct ExprYield {
pub attrs: Vec<Attribute>,
pub yield_token: Yield,
pub expr: Option<Box<Expr>>,
}
Expand description
A yield expression: yield expr
.
Fields§
§attrs: Vec<Attribute>
§yield_token: Yield
§expr: Option<Box<Expr>>
pub struct ExprYield {
pub attrs: Vec<Attribute>,
pub yield_token: Yield,
pub expr: Option<Box<Expr>>,
}
A yield expression: yield expr
.
attrs: Vec<Attribute>
§yield_token: Yield
§expr: Option<Box<Expr>>