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
[src]

fn as_str(self) -> &'static str

Trait Implementations

Derived Implementations

impl Copy for SpecialMacroVar
[src]

impl Debug for SpecialMacroVar
[src]

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

Formats the value using the given formatter.

impl Hash for SpecialMacroVar
[src]

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

Feeds this value into the state given, updating the hasher as necessary.

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

Feeds a slice of this type into the state provided.

impl Eq for SpecialMacroVar
[src]

impl PartialEq for SpecialMacroVar
[src]

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

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, other: &Rhs) -> bool
1.0.0

This method tests for !=.

impl Decodable for SpecialMacroVar
[src]

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

impl Encodable for SpecialMacroVar
[src]

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

impl Clone for SpecialMacroVar
[src]

fn clone(&self) -> SpecialMacroVar

Returns a copy of the value. Read more

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

Performs copy-assignment from source. Read more