pub(crate) fn implement(&self, dtable: GcRaw<DispatchTable>) -> Result<(), ErrorKind> {
      if self.sealed.get() {
         return Err(ErrorKind::StructAlreadyImplemented);
      }
      unsafe { *self.dtable.get() = dtable }
      self.sealed.set(true);
      Ok(())
   }
/// Implements the struct with the given dispatch table.
Implements the struct with the given dispatch table.
Implements the struct with the given dispatch table .
pub(crate) fn implement(&self, dtable: GcRaw<DispatchTable>) -> Result<(), ErrorKind> {
      if self.sealed.get() {
         return Err(ErrorKind::StructAlreadyImplemented);
      }
      unsafe { *self.dtable.get() = dtable }
      self.sealed.set(true);
      Ok(())
   }
pub ( crate ) fn implement ( & self , dtable : GcRaw < DispatchTable > ) -> Result < ( ) , ErrorKind > { if self . sealed . get ( ) { return Err ( ErrorKind :: StructAlreadyImplemented ) ; } unsafe { * self . dtable . get ( ) = dtable } self . sealed . set ( true ) ; Ok ( ( ) ) }
Implements the struct with the given dispatch table.
Implements the struct with the given dispatch table .
&self
dtable
GcRaw<DispatchTable>