pub struct IfStmt {
pub condition: Expr,
pub then_branch: Box<Stmt>,
pub elseif_branches: Box<[ElseIfBranch]>,
pub else_branch: Option<Box<Stmt>>,
pub else_kw_start: Option<u32>,
pub uses_alternative: bool,
}Fields§
§condition: Expr§then_branch: Box<Stmt>§elseif_branches: Box<[ElseIfBranch]>§else_branch: Option<Box<Stmt>>§else_kw_start: Option<u32>§uses_alternative: boolTrait 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