Enum syntax::ast::Mac_Unstable [-] [+] [src]

pub enum Mac_ {
    MacInvocTT(Path, Vec<TokenTree>, SyntaxContext),
}

Represents a macro invocation. The Path indicates which macro is being invoked, and the vector of token-trees contains the source of the macro invocation. There's only one flavor, now, so this could presumably be simplified.

Variants

MacInvocTT

Trait Implementations

Derived Implementations

impl Debug for Mac_

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Hash for Mac_

fn hash<__H: Hasher>(&self, __arg_0: &mut __H)

fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher

impl Decodable for Mac_

fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<Mac_, Error>

impl Encodable for Mac_

fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), Error>

impl Eq for Mac_

fn assert_receiver_is_total_eq(&self)

impl PartialEq for Mac_

fn eq(&self, __arg_0: &Mac_) -> bool

fn ne(&self, __arg_0: &Mac_) -> bool

impl Clone for Mac_

fn clone(&self) -> Mac_

fn clone_from(&mut self, source: &Self)