Struct devise::syn::ExprWhile [−][src]
pub struct ExprWhile {
pub attrs: Vec<Attribute, Global>,
pub label: Option<Label>,
pub while_token: While,
pub cond: Box<Expr, Global>,
pub body: Block,
}Expand description
A while loop: while expr { ... }.
This type is available if Syn is built with the "full" feature.
Fields
attrs: Vec<Attribute, Global>label: Option<Label>while_token: Whilecond: Box<Expr, Global>body: BlockTrait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for ExprWhile
impl UnwindSafe for ExprWhile
Blanket Implementations
Mutably borrows from an owned value. Read more
Returns a Span covering the complete contents of this syntax tree
node, or Span::call_site() if this node is empty. Read more