pub struct StmtWhile {
pub while_token: While,
pub paren_token: Paren,
pub cond: Expr,
pub body: Box<Stmt>,
}
Expand description
A while statement: while (i < 42) { ... }
.
https://docs.soliditylang.org/en/latest/grammar.html#a4.SolidityParser.whileStatement
Fields§
§while_token: While
§paren_token: Paren
§cond: Expr
§body: Box<Stmt>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for StmtWhile
impl RefUnwindSafe for StmtWhile
impl !Send for StmtWhile
impl !Sync for StmtWhile
impl Unpin for StmtWhile
impl UnwindSafe for StmtWhile
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more