Type Alias naga::front::Scope

source ·
type Scope<Name, Var> = FastHashMap<Name, Var>;
Expand description

Type representing a lexical scope, associating a name to a single variable

The scope is generic over the variable representation and name representation in order to allow larger flexibility on the frontends on how they might represent them.

Aliased Type§

struct Scope<Name, Var> { /* private fields */ }