pub enum SelectArm {
Receive {
binding: Box<Pattern>,
receive_expression: Box<Expression>,
body: Box<Expression>,
},
Send {
send_expression: Box<Expression>,
body: Box<Expression>,
},
MatchReceive {
receive_expression: Box<Expression>,
arms: Vec<MatchArm>,
},
WildCard {
span: Span,
body: Box<Expression>,
},
}Variants§
Trait Implementations§
impl StructuralPartialEq for SelectArm
Auto Trait Implementations§
impl Forget for SelectArm
impl Freeze for SelectArmwhere
*const Pattern is !null: Freeze,
PhantomData<Pattern>: Freeze,
*const Expression is !null: Freeze,
PhantomData<Expression>: Freeze,
*const u8 is !null: Freeze,
PhantomData<MatchArm>: Freeze,
impl Move for SelectArm
impl RefUnwindSafe for SelectArm
impl Send for SelectArm
impl Sync for SelectArm
impl Unpin for SelectArm
impl UnsafeUnpin for SelectArmwhere
*const Pattern is !null: UnsafeUnpin,
PhantomData<Pattern>: UnsafeUnpin,
*const Expression is !null: UnsafeUnpin,
PhantomData<Expression>: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<MatchArm>: UnsafeUnpin,
impl UnwindSafe for SelectArmwhere
BoxRaw<Pattern>: UnwindSafe,
BoxRaw<Expression>: UnwindSafe,
RawVecInner: UnwindSafe,
Arc<Box<[Type]>>: UnwindSafe,
NonNull<u8>: UnwindSafe,
Arc<FunctionType>: UnwindSafe,
BoxRaw<Type>: UnwindSafe,
Arc<Spelling>: UnwindSafe,
BoxRaw<Annotation>: UnwindSafe,
BoxRaw<Binding>: UnwindSafe,
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