pub(crate) fn build_dtable(
      self,
      mut dtable: DispatchTable,
      env: &mut Environment,
      gc: &mut Memory,
   ) -> Result<DispatchTable, Error> {
      for (signature, f) in self.methods {
         Self::add_function_to_dtable(env, gc, &mut dtable, signature, f)?;
      }
      Ok(dtable)
   }
/// Builds a dispatch table from this descriptor.
Builds a dispatch table from this descriptor.
Builds a dispatch table from this descriptor .
pub(crate) fn build_dtable(
      self,
      mut dtable: DispatchTable,
      env: &mut Environment,
      gc: &mut Memory,
   ) -> Result<DispatchTable, Error> {
      for (signature, f) in self.methods {
         Self::add_function_to_dtable(env, gc, &mut dtable, signature, f)?;
      }
      Ok(dtable)
   }
pub ( crate ) fn build_dtable ( self , mut dtable : DispatchTable , env : & mut Environment , gc : & mut Memory , ) -> Result < DispatchTable , Error > { for ( signature , f ) in self . methods { Self :: add_function_to_dtable ( env , gc , & mut dtable , signature , f ) ? ; } Ok ( dtable ) }
Builds a dispatch table from this descriptor.
Builds a dispatch table from this descriptor .
self
dtable
DispatchTable
env
&mut Environment
gc
&mut Memory