Expand description
A macro in pattern position.
This type is available only if Syn is built with the "full"
feature.
Fields
attrs: Vec<Attribute>
mac: Macro
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for PatMacro
impl !Send for PatMacro
impl !Sync for PatMacro
impl Unpin for PatMacro
impl UnwindSafe for PatMacro
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more