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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)