Enum kailua_check::env::Id [] [src]

pub enum Id {
    Local(usizeScopedId),
    Global(Name),
}

A globally unique name reference.

This is an expanded version of NameRef that can be used across multiple files.

Variants

A local name, identified with an index to a per-file scope map and a scoped identifier.

A global name, simply identified with its name.

Methods

impl Id
[src]

Trait Implementations

impl Clone for Id
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Id
[src]

Formats the value using the given formatter.

impl PartialEq for Id
[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 Id
[src]

impl Hash for Id
[src]

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

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