Struct stack_graphs::partial::SymbolStackBindings[][src]

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

A mapping from symbol stack variables to symbol stacks.

Implementations

Creates a new, empty set of symbol stack bindings.

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

Adds a new binding from a symbol stack variable to the symbol 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.