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,
}Expand description
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: Whilecond: Box<Expr>body: BlockTrait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ExprWhile
impl UnwindSafe for ExprWhile
Blanket Implementations
Mutably borrows from an owned value. Read more
