pub struct WhileSpan {
pub expr: Expr,
pub body: Vec<Statement>,
}
Expand description
Components of a WHILE
statement.
Fields§
§expr: Expr
Expression to compute whether to execute the loop’s body or not.
body: Vec<Statement>
Statements within the loop’s body.
Trait Implementations§
impl StructuralPartialEq for WhileSpan
Auto Trait Implementations§
impl Freeze for WhileSpan
impl RefUnwindSafe for WhileSpan
impl Send for WhileSpan
impl Sync for WhileSpan
impl Unpin for WhileSpan
impl UnwindSafe for WhileSpan
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