Struct erg_compiler::module::global::SharedCompilerResource
source · pub struct SharedCompilerResource {
pub mod_cache: SharedModuleCache,
pub py_mod_cache: SharedModuleCache,
pub index: SharedModuleIndex,
pub graph: SharedModuleGraph,
pub trait_impls: SharedTraitImpls,
}
Fields§
§mod_cache: SharedModuleCache
§py_mod_cache: SharedModuleCache
§index: SharedModuleIndex
§graph: SharedModuleGraph
§trait_impls: SharedTraitImpls
K: name of a trait, V: (type, monomorphised trait that the type implements) K: トレイトの名前, V: (型, その型が実装する単相化トレイト) e.g. { “Named”: [(Type, Named), (Func, Named), …], “Add”: [(Nat, Add(Nat)), (Int, Add(Int)), …], … }
Implementations§
Trait Implementations§
source§fn clone(&self) -> SharedCompilerResource
fn clone(&self) -> SharedCompilerResource
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§fn default() -> SharedCompilerResource
fn default() -> SharedCompilerResource
Returns the “default value” for a type. Read more