SymbolTableEnvironment

Trait SymbolTableEnvironment 

Source
pub trait SymbolTableEnvironment {
    // Provided methods
    fn get_static_name(&self, name: &str) -> &'static str { ... }
    fn get_static_fields<'a>(
        &self,
        fields: impl IntoIterator<Item = &'a str>,
    ) -> &'static [&'static str] { ... }
}
Expand description

The requirement for an environment that manages a symbol table.

Provided Methods§

Source

fn get_static_name(&self, name: &str) -> &'static str

Source

fn get_static_fields<'a>( &self, fields: impl IntoIterator<Item = &'a str>, ) -> &'static [&'static str]

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§