pub struct Case(pub MaybeExpr, pub Brace);Expand description
Represents an case clause.
We allow the pattern Exprs to be None, though it’s an error.
Tuple Fields§
§0: MaybeExpr§1: BraceTrait Implementations§
Auto Trait Implementations§
impl Freeze for Case
impl !RefUnwindSafe for Case
impl !Send for Case
impl !Sync for Case
impl Unpin for Case
impl !UnwindSafe for Case
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