Struct syntax_pos::hygiene::Mark[][src]

pub struct Mark(_);

A mark is a unique id associated with a macro expansion.


impl Mark

The mark of the theoretical expansion that generates freshly parsed, unexpanded AST.

Computes a mark such that both input marks are descendants of (or equal to) the returned mark. That is, the following holds:

let la = least_ancestor(a, b);

Trait Implementations

impl Copy for Mark

impl Clone for Mark

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Mark

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

This method tests for !=.

impl Eq for Mark

impl Hash for Mark

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Debug for Mark

Formats the value using the given formatter. Read more

impl Encodable for Mark

impl Decodable for Mark

Auto Trait Implementations

impl Send for Mark

impl Sync for Mark