pub struct HirSelectArm {
pub id: HirId,
pub operation: HirSelectOperation,
pub binding: Option<Pattern>,
pub body: Expr,
pub span: Span,
}Expand description
Select arm for channel selection
Fields§
§id: HirId§operation: HirSelectOperation§binding: Option<Pattern>§body: Expr§span: SpanTrait Implementations§
Source§impl Clone for HirSelectArm
impl Clone for HirSelectArm
Source§fn clone(&self) -> HirSelectArm
fn clone(&self) -> HirSelectArm
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 moreAuto Trait Implementations§
impl Freeze for HirSelectArm
impl RefUnwindSafe for HirSelectArm
impl Send for HirSelectArm
impl Sync for HirSelectArm
impl Unpin for HirSelectArm
impl UnwindSafe for HirSelectArm
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