Struct bitsy_lang::ast::MatchArm
source · pub struct MatchArm(pub Pat, pub Box<Expr>);
Expand description
A MatchArm
is a case for a match expression.
Tuple Fields§
§0: Pat
§1: Box<Expr>
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for MatchArm
impl Send for MatchArm
impl Sync for MatchArm
impl Unpin for MatchArm
impl UnwindSafe for MatchArm
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