pub struct WhileLoop {
pub condition: ExpressionNode,
pub body: Vec<StatementNode>,
}
Expand description
A while loop. This goes down into WhileLoop and would look something like this in Zypo:
while(50 > 49) {
// --snip--
}
Fields§
§condition: ExpressionNode
§body: Vec<StatementNode>
Trait Implementations§
impl StructuralPartialEq for WhileLoop
Auto Trait Implementations§
impl Freeze for WhileLoop
impl RefUnwindSafe for WhileLoop
impl Send for WhileLoop
impl Sync for WhileLoop
impl Unpin for WhileLoop
impl UnwindSafe for WhileLoop
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