pub struct TypeSwitchStmt {
pub pos: usize,
pub init: Option<Box<Statement>>,
pub tag: Option<Box<Statement>>,
pub block: CaseBlock,
}Fields§
§pos: usize§init: Option<Box<Statement>>§tag: Option<Box<Statement>>§block: CaseBlockTrait Implementations§
Source§impl Clone for TypeSwitchStmt
impl Clone for TypeSwitchStmt
Source§fn clone(&self) -> TypeSwitchStmt
fn clone(&self) -> TypeSwitchStmt
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto 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