pub struct TypeSwitchStmt {
pub switch: Pos,
pub init: Option<Stmt>,
pub assign: Stmt,
pub body: Rc<BlockStmt>,
}
Fields§
§switch: Pos
§init: Option<Stmt>
§assign: Stmt
§body: Rc<BlockStmt>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TypeSwitchStmt
impl RefUnwindSafe for TypeSwitchStmt
impl !Send for TypeSwitchStmt
impl !Sync for TypeSwitchStmt
impl Unpin for TypeSwitchStmt
impl UnwindSafe for TypeSwitchStmt
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