Struct gluon_base::pos::ExpansionId [] [src]

pub struct ExpansionId(pub u32);

An expansion identifier tracks wheter a span originated from a macro expansion or not

Trait Implementations

impl Copy for ExpansionId
[src]

impl Clone for ExpansionId
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Default for ExpansionId
[src]

Returns the "default value" for a type. Read more

impl Ord for ExpansionId
[src]

This method returns an Ordering between self and other. Read more

impl PartialOrd for ExpansionId
[src]

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Eq for ExpansionId
[src]

impl PartialEq for ExpansionId
[src]

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

This method tests for !=.

impl Debug for ExpansionId
[src]

Formats the value using the given formatter.