pub struct IfStmt {
pub if_pos: usize,
pub init: Option<Stmt>,
pub cond: Expr,
pub body: Rc<BlockStmt, Global>,
pub els: Option<Stmt>,
}
Fields§
§if_pos: usize
§init: Option<Stmt>
§cond: Expr
§body: Rc<BlockStmt, Global>
§els: Option<Stmt>
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for IfStmt
impl !Send for IfStmt
impl !Sync for IfStmt
impl Unpin for IfStmt
impl UnwindSafe for IfStmt
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