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

pub struct Mark(_);

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

Methods

impl Mark
[src]

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);
assert!(a.is_descendant_of(la))
assert!(b.is_descendant_of(la))

Trait Implementations

impl Copy for Mark
[src]

impl Clone for Mark
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Mark
[src]

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

impl Hash for Mark
[src]

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

Formats the value using the given formatter. Read more

impl Encodable for Mark
[src]

impl Decodable for Mark
[src]

Auto Trait Implementations

impl Send for Mark

impl Sync for Mark