pub struct IrMatchArm {
pub pattern: IrPattern,
pub body: Box<IrExpr>,
}Expand description
Match arm: pattern and body
Fields§
§pattern: IrPattern§body: Box<IrExpr>Trait Implementations§
Source§impl Clone for IrMatchArm
impl Clone for IrMatchArm
Source§fn clone(&self) -> IrMatchArm
fn clone(&self) -> IrMatchArm
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 moreSource§impl Debug for IrMatchArm
impl Debug for IrMatchArm
Source§impl PartialEq for IrMatchArm
impl PartialEq for IrMatchArm
impl StructuralPartialEq for IrMatchArm
Auto Trait Implementations§
impl Freeze for IrMatchArm
impl RefUnwindSafe for IrMatchArm
impl Send for IrMatchArm
impl Sync for IrMatchArm
impl Unpin for IrMatchArm
impl UnsafeUnpin for IrMatchArm
impl UnwindSafe for IrMatchArm
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