pub struct SwitchStmt {
pub switch: Pos,
pub init: Option<Stmt>,
pub tag: Option<Expr>,
pub body: Rc<BlockStmt>,
}
Fields§
§switch: Pos
§init: Option<Stmt>
§tag: Option<Expr>
§body: Rc<BlockStmt>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SwitchStmt
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