Struct resast::stmt::DoWhileStmt [−][src]
Expand description
A while loop that executes its body first
do {
console.log('at least once')
} while (Math.floor(Math.random() * 100) < 75)
Fields
test: Expr<'a>
body: Box<Stmt<'a>>
Trait Implementations
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl<'a> RefUnwindSafe for DoWhileStmt<'a>
impl<'a> Send for DoWhileStmt<'a>
impl<'a> Sync for DoWhileStmt<'a>
impl<'a> Unpin for DoWhileStmt<'a>
impl<'a> UnwindSafe for DoWhileStmt<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more