pub struct MapSymbol { /* private fields */ }

Implementations

The AmFn symbol table implementation.

Create and return a new symbol table.

Return
  • See description.

Copy and return the new symbol table.

Return
  • See description.

Clear all symbols from the symbol table.

Find and return the symbol element by name.

Arguments
  • name - The name of the symbol to find.
Return
  • The found symbol, otherwise None.

Find and return the mut symbol element by name.

Arguments
  • name - The name of the symbol to find.
Return
  • The found symbol, otherwise None.

Add the symbol to the symbol table.

Arguments
  • name - The symbol name.
  • elem_symbol - The symbol element.

Trait Implementations

The AmFn symbol table default implementation.

Create and return a new symbol table.

Return
  • See description.

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.