pub struct IfStmt {
pub span: Span,
pub test: ExprRef,
pub consequent: Box<Stmt>,
pub alternate: Option<Box<Stmt>>,
}Fields§
§span: Span§test: ExprRef§consequent: Box<Stmt>§alternate: Option<Box<Stmt>>Trait Implementations§
Auto Trait Implementations§
impl Freeze for IfStmt
impl RefUnwindSafe for IfStmt
impl Send for IfStmt
impl Sync for IfStmt
impl Unpin for IfStmt
impl UnsafeUnpin 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