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