pub struct WhileData {
pub condition: Expr,
pub body: Box<Stmt>,
}Expand description
Represents a while statement’s data in the language.
Fields§
§condition: ExprThe condition to check.
body: Box<Stmt>The statement to execute while the condition is true.
Trait Implementations§
impl StructuralPartialEq for WhileData
Auto Trait Implementations§
impl Freeze for WhileData
impl RefUnwindSafe for WhileData
impl Send for WhileData
impl Sync for WhileData
impl Unpin for WhileData
impl UnwindSafe for WhileData
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