Enum syntex_syntax::parse::token::SpecialMacroVar [] [src]

pub enum SpecialMacroVar {
    CrateMacroVar,
}

Variants

CrateMacroVar

$crate will be filled in with the name of the crate a macro was imported from, if any.

Methods

impl SpecialMacroVar

fn as_str(self) -> &'static str

Trait Implementations

Derived Implementations

impl Copy for SpecialMacroVar

impl Debug for SpecialMacroVar

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

impl Hash for SpecialMacroVar

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

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

impl Eq for SpecialMacroVar

impl PartialEq for SpecialMacroVar

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

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

impl Decodable for SpecialMacroVar

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

impl Encodable for SpecialMacroVar

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

impl Clone for SpecialMacroVar

fn clone(&self) -> SpecialMacroVar

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