pub struct Pat {
pub id: NodeId,
pub kind: PatKind,
pub span: Span,
}Expand description
A pattern in a match arm.
Fields§
§id: NodeIdNode id.
kind: PatKindWhat it is.
span: SpanWhere it is.
Trait Implementations§
impl StructuralPartialEq for Pat
Auto Trait Implementations§
impl Freeze for Pat
impl RefUnwindSafe for Pat
impl Send for Pat
impl Sync for Pat
impl Unpin for Pat
impl UnsafeUnpin for Pat
impl UnwindSafe for Pat
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