Struct syn::ExprWhile [−][src]
pub struct ExprWhile { pub attrs: Vec<Attribute>, pub label: Option<Label>, pub while_token: While, pub cond: Box<Expr>, pub body: Block, }
A while loop: while expr { ... }
.
This type is available only if Syn is built with the "full"
feature.
Fields
attrs: Vec<Attribute>
label: Option<Label>
while_token: While
cond: Box<Expr>
body: Block
Trait Implementations
impl ToTokens for ExprWhile
[src]
impl ToTokens for ExprWhile
[src]