Struct stack_graphs::partial::ScopeStackBindings[][src]

pub struct ScopeStackBindings { /* fields omitted */ }
Expand description

A mapping from scope stack variables to scope stacks.

Implementations

Creates a new, empty set of scope stack bindings.

Returns the scope stack that a particular scope stack variable matched. Returns an error if that variable didn’t match anything.

Adds a new binding from a scope stack variable to the scope stack that it matched. Returns an error if you try to bind a particular variable more than once.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.