Struct syntax::ext::hygiene::Mark   
                   
                       [−]
                   
               [src]
pub struct Mark(_);
A mark is a unique id associated with a macro expansion.
Methods
impl Mark[src]
pub fn fresh(parent: Mark) -> Mark[src]
pub fn root() -> Mark[src]
The mark of the theoretical expansion that generates freshly parsed, unexpanded AST.
pub fn as_u32(self) -> u32[src]
pub fn from_u32(raw: u32) -> Mark[src]
pub fn expn_info(self) -> Option<ExpnInfo>[src]
pub fn set_expn_info(self, info: ExpnInfo)[src]
pub fn modern(self) -> Mark[src]
pub fn kind(self) -> MarkKind[src]
pub fn set_kind(self, kind: MarkKind)[src]
pub fn is_descendant_of(self, ancestor: Mark) -> bool[src]
Trait Implementations
impl Clone for Mark[src]
fn clone(&self) -> Mark[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Decodable for Mark[src]
fn decode<__D>(__arg_0: &mut __D) -> Result<Mark, <__D as Decoder>::Error> where
    __D: Decoder, [src]
__D: Decoder,
impl Copy for Mark[src]
impl Hash for Mark[src]
fn hash<__H>(&self, __arg_0: &mut __H) where
    __H: Hasher, [src]
__H: Hasher,
Feeds this value into the given [Hasher]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher, 1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher]. Read more
impl PartialEq<Mark> for Mark[src]
fn eq(&self, __arg_0: &Mark) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &Mark) -> bool[src]
This method tests for !=.
impl Encodable for Mark[src]
fn encode<__S>(&self, __arg_0: &mut __S) -> Result<(), <__S as Encoder>::Error> where
    __S: Encoder, [src]
__S: Encoder,
impl Debug for Mark[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>[src]
Formats the value using the given formatter. Read more