pub struct SwitchCase {
pub test: Option<Expr>,
pub consequent: Vec<Stmt>,
}Fields§
§test: Option<Expr>§consequent: Vec<Stmt>Trait Implementations§
Source§impl Clone for SwitchCase
impl Clone for SwitchCase
Source§impl Debug for SwitchCase
impl Debug for SwitchCase
Source§impl PartialEq for SwitchCase
impl PartialEq for SwitchCase
impl StructuralPartialEq for SwitchCase
Auto Trait Implementations§
impl !RefUnwindSafe for SwitchCase
impl !Send for SwitchCase
impl !Sync for SwitchCase
impl !UnwindSafe for SwitchCase
impl Forget for SwitchCase
impl Freeze for SwitchCase
impl Move for SwitchCase
impl Unpin for SwitchCase
impl UnsafeUnpin for SwitchCase
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