Struct ra_ap_rustc_pattern_analysis::MatchArm 
source · pub struct MatchArm<'p, Cx: PatCx> {
    pub pat: &'p DeconstructedPat<Cx>,
    pub has_guard: bool,
    pub arm_data: Cx::ArmData,
}Expand description
The arm of a match expression.
Fields§
§pat: &'p DeconstructedPat<Cx>§has_guard: bool§arm_data: Cx::ArmDataTrait Implementations§
impl<'p, Cx: PatCx> Copy for MatchArm<'p, Cx>
Auto Trait Implementations§
impl<'p, Cx> Freeze for MatchArm<'p, Cx>
impl<'p, Cx> RefUnwindSafe for MatchArm<'p, Cx>where
    <Cx as PatCx>::ArmData: RefUnwindSafe,
    <Cx as PatCx>::Ty: RefUnwindSafe,
    <Cx as PatCx>::PatData: RefUnwindSafe,
    <Cx as PatCx>::VariantIdx: RefUnwindSafe,
    <Cx as PatCx>::StrLit: RefUnwindSafe,
impl<'p, Cx> Send for MatchArm<'p, Cx>
impl<'p, Cx> Sync for MatchArm<'p, Cx>
impl<'p, Cx> Unpin for MatchArm<'p, Cx>
impl<'p, Cx> UnwindSafe for MatchArm<'p, Cx>where
    <Cx as PatCx>::ArmData: UnwindSafe,
    <Cx as PatCx>::Ty: RefUnwindSafe,
    <Cx as PatCx>::PatData: RefUnwindSafe,
    <Cx as PatCx>::VariantIdx: RefUnwindSafe,
    <Cx as PatCx>::StrLit: RefUnwindSafe,
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
source§impl<T> CloneToUninit for Twhere
    T: Copy,
 
impl<T> CloneToUninit for Twhere
    T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
 
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)source§impl<T> CloneToUninit for Twhere
    T: Clone,
 
impl<T> CloneToUninit for Twhere
    T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
 
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)