[][src]Struct syn::PatMacro

pub struct PatMacro {
    pub attrs: Vec<Attribute>,
    pub mac: Macro,

A macro in pattern position.

This type is available if Syn is built with the "full" feature.


attrs: Vec<Attribute>mac: Macro

Trait Implementations

impl From<PatMacro> for Pat[src]

impl Clone for PatMacro[src]

impl Eq for PatMacro[src]

impl PartialEq<PatMacro> for PatMacro[src]

impl Debug for PatMacro[src]

impl Hash for PatMacro[src]

impl StructuralPartialEq for PatMacro[src]

impl StructuralEq for PatMacro[src]

impl ToTokens for PatMacro[src]

Auto Trait Implementations

impl !Send for PatMacro

impl !Sync for PatMacro

impl Unpin for PatMacro

impl UnwindSafe for PatMacro

impl !RefUnwindSafe for PatMacro

Blanket Implementations

impl<T> Spanned for T where
    T: Spanned + ?Sized

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = !

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> Any for T where
    T: 'static + ?Sized