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