pub fn module_loaded(&mut self, mod_ptr: module::Ptr) {
    let name = mod_ptr.mod_id.module;
    let v = mod_ptr.mod_id.version;
    let mg = ModuleGenerations {
      curr_modp: mod_ptr,
      curr_version: v,
      old_modp: None,
      old_version: 0
    };
    self.mods.insert(name, mg);
  }
/// Notify the code server about the fact that a new module is ready to be
/// added to the codebase.
Notify the code server about the fact that a new module is ready to be
added to the codebase.
Notify the code server about the fact that a new module is ready to be added to the codebase .
pub fn module_loaded(&mut self, mod_ptr: module::Ptr) {
    let name = mod_ptr.mod_id.module;
    let v = mod_ptr.mod_id.version;
    let mg = ModuleGenerations {
      curr_modp: mod_ptr,
      curr_version: v,
      old_modp: None,
      old_version: 0
    };
    self.mods.insert(name, mg);
  }
pub fn module_loaded ( & mut self , mod_ptr : module :: Ptr ) { let name = mod_ptr . mod_id . module ; let v = mod_ptr . mod_id . version ; let mg = ModuleGenerations { curr_modp : mod_ptr , curr_version : v , old_modp : None , old_version : 0 } ; self . mods . insert ( name , mg ) ; }
Notify the code server about the fact that a new module is ready to be
added to the codebase.
Notify the code server about the fact that a new module is ready to be added to the codebase .
&mut self
mod_ptr
module::Ptr