Struct erg_compiler::context::ModuleContext
source · pub struct ModuleContext {
pub context: Context,
pub scope: Dict<Str, Context>,
}
Fields§
§context: Context
§scope: Dict<Str, Context>
Implementations§
Trait Implementations§
source§impl Clone for ModuleContext
impl Clone for ModuleContext
source§fn clone(&self) -> ModuleContext
fn clone(&self) -> ModuleContext
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ModuleContext
impl Debug for ModuleContext
source§impl Default for ModuleContext
impl Default for ModuleContext
source§fn default() -> ModuleContext
fn default() -> ModuleContext
Returns the “default value” for a type. Read more