pub struct MatchArm<'ast> {
pub conditions: Option<&'ast [ExprId<'ast>]>,
pub body: ExprId<'ast>,
pub span: Span,
}Fields§
§conditions: Option<&'ast [ExprId<'ast>]>§body: ExprId<'ast>§span: SpanTrait Implementations§
impl<'ast> Copy for MatchArm<'ast>
Auto Trait Implementations§
impl<'ast> Freeze for MatchArm<'ast>
impl<'ast> RefUnwindSafe for MatchArm<'ast>
impl<'ast> Send for MatchArm<'ast>
impl<'ast> Sync for MatchArm<'ast>
impl<'ast> Unpin for MatchArm<'ast>
impl<'ast> UnwindSafe for MatchArm<'ast>
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