pub struct MatchCase {
pub pattern: Pattern,
pub guard: Option<Expr>,
pub body: Expr,
pub span: Span,
}Fields§
§pattern: Pattern§guard: Option<Expr>§body: Expr§span: SpanTrait Implementations§
impl StructuralPartialEq for MatchCase
Auto Trait Implementations§
impl Freeze for MatchCase
impl RefUnwindSafe for MatchCase
impl Send for MatchCase
impl Sync for MatchCase
impl Unpin for MatchCase
impl UnsafeUnpin for MatchCase
impl UnwindSafe for MatchCase
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