Struct rustpython_ast::StmtWhile
source · pub struct StmtWhile<R = TextRange> {
pub range: R,
pub test: Box<Expr<R>>,
pub body: Vec<Stmt<R>>,
pub orelse: Vec<Stmt<R>>,
}
Expand description
See also While
Fields§
§range: R
§test: Box<Expr<R>>
§body: Vec<Stmt<R>>
§orelse: Vec<Stmt<R>>
Trait Implementations§
source§impl<R: PartialEq> PartialEq for StmtWhile<R>
impl<R: PartialEq> PartialEq for StmtWhile<R>
impl<R> StructuralPartialEq for StmtWhile<R>
Auto Trait Implementations§
impl<R> Freeze for StmtWhile<R>where
R: Freeze,
impl<R> RefUnwindSafe for StmtWhile<R>where
R: RefUnwindSafe,
impl<R> Send for StmtWhile<R>where
R: Send,
impl<R> Sync for StmtWhile<R>where
R: Sync,
impl<R> Unpin for StmtWhile<R>where
R: Unpin,
impl<R> UnwindSafe for StmtWhile<R>where
R: UnwindSafe,
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