Struct syntex_syntax::ast::SyntaxContext [] [src]

pub struct SyntaxContext(pub u32);

A SyntaxContext represents a chain of macro-expandings and renamings. Each macro expansion corresponds to a fresh u32. This u32 is a reference to a table stored

Trait Implementations

Derived Implementations

impl Decodable for SyntaxContext

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

impl Encodable for SyntaxContext

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

impl Debug for SyntaxContext

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

impl Hash for SyntaxContext

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

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

impl Eq for SyntaxContext

impl PartialEq for SyntaxContext

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

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

impl Copy for SyntaxContext

impl Clone for SyntaxContext

fn clone(&self) -> SyntaxContext

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