Struct HirMatchArm
pub struct HirMatchArm {
pub pattern: MatchPattern,
pub body: Vec<StmtId>,
}Expand description
Runtime match arm retained in HIR.
Fields§
§pattern: MatchPatternPattern matched for this arm.
body: Vec<StmtId>Statement ids executed when the pattern matches.
Trait Implementations§
§impl Clone for HirMatchArm
impl Clone for HirMatchArm
§fn clone(&self) -> HirMatchArm
fn clone(&self) -> HirMatchArm
Returns a copy 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 moreAuto Trait Implementations§
impl Freeze for HirMatchArm
impl RefUnwindSafe for HirMatchArm
impl Send for HirMatchArm
impl Sync for HirMatchArm
impl Unpin for HirMatchArm
impl UnwindSafe for HirMatchArm
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