Struct librsnek::compiler::scope::Scope [] [src]

pub struct Scope {
    id: usize,
    parent_id: usize,
}

Define the scope by its a unique id of all scopes within a module

Fields

Trait Implementations

impl Debug for Scope
[src]

Formats the value using the given formatter.

impl PartialEq for Scope
[src]

This method tests for self and other values to be equal, and is used

This method tests for !=.

impl Eq for Scope
[src]

impl Ord for Scope
[src]

This method returns an Ordering between self and other.

impl PartialOrd for Scope
[src]

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

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

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

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

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

impl Hash for Scope
[src]

Feeds this value into the given [Hasher].

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

impl Copy for Scope
[src]

impl Clone for Scope
[src]

Returns a copy of the value.

Performs copy-assignment from source.

impl Node for Scope
[src]