pub fn new_type(dtable: GcRaw<DispatchTable>) -> Self {
      Self {
         dtable: UnsafeCell::new(dtable),
         sealed: Cell::new(false),
         fields: UnsafeCell::new(Vec::new()),
      }
   }
/// Creates a new `Struct` representing a type.
Creates a new `Struct` representing a type.
Creates a new ` Struct ` representing a type .
pub fn new_type(dtable: GcRaw<DispatchTable>) -> Self {
      Self {
         dtable: UnsafeCell::new(dtable),
         sealed: Cell::new(false),
         fields: UnsafeCell::new(Vec::new()),
      }
   }
pub fn new_type ( dtable : GcRaw < DispatchTable > ) -> Self { Self { dtable : UnsafeCell :: new ( dtable ) , sealed : Cell :: new ( false ) , fields : UnsafeCell :: new ( Vec :: new ( ) ) , } }
Creates a new `Struct` representing a type.
Creates a new ` Struct ` representing a type .
dtable
GcRaw<DispatchTable>