[][src]Enum rustc_ap_syntax_pos::hygiene::MacroKind

pub enum MacroKind {

The kind of macro invocation or definition.



A bang macro foo!().


An attribute macro #[foo].


A derive macro #[derive(Foo)]


impl MacroKind[src]

pub fn descr(self) -> &'static str[src]

pub fn descr_expected(self) -> &'static str[src]

pub fn article(self) -> &'static str[src]

Trait Implementations

impl Clone for MacroKind[src]

impl Copy for MacroKind[src]

impl Eq for MacroKind[src]

impl PartialEq<MacroKind> for MacroKind[src]

impl Debug for MacroKind[src]

impl Hash for MacroKind[src]

impl Encodable for MacroKind[src]

impl Decodable for MacroKind[src]

Auto Trait Implementations

Blanket Implementations

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

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

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 = Infallible

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

impl<T> Encodable for T where
    T: UseSpecializedEncodable + ?Sized

impl<T> Decodable for T where
    T: UseSpecializedDecodable

impl<E> SpecializationError for E[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized

impl<T> Erased for T[src]