Struct go_vm::parser::ast::SwitchStmt
source · pub struct SwitchStmt {
pub switch: usize,
pub init: Option<Stmt>,
pub tag: Option<Expr>,
pub body: Rc<BlockStmt, Global>,
}
Fields§
§switch: usize
§init: Option<Stmt>
§tag: Option<Expr>
§body: Rc<BlockStmt, Global>
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for SwitchStmt
impl !Send for SwitchStmt
impl !Sync for SwitchStmt
impl Unpin for SwitchStmt
impl UnwindSafe for SwitchStmt
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