Skip to main content

Scope

Type Alias Scope 

Source
pub type Scope = Option<Symbol>;
Expand description

Where a name lives: a function’s body, or the program’s root (None).

Aliased Type§

pub enum Scope {
    None,
    Some(Symbol),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(Symbol)

Some value of type T.