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 Clone for ExprYield
[src]
impl Clone for ExprYield
[src]fn clone(&self) -> Self
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl ToTokens for ExprYield
[src]
impl ToTokens for ExprYield
[src]