pub struct MatchArm {
pub id: HirId,
pub pattern: Pattern,
pub guard: Option<Expr>,
pub body: Expr,
}Expand description
Match arm
Fields§
§id: HirId§pattern: Pattern§guard: Option<Expr>§body: ExprTrait Implementations§
Auto Trait Implementations§
impl Freeze for MatchArm
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