pub(crate) unsafe fn new_instance(&self, field_count: usize) -> Self {
      Self {
         dtable: UnsafeCell::new(self.dtable().instance.unwrap_unchecked()),
         sealed: Cell::new(true),
         fields: UnsafeCell::new(std::iter::repeat(RawValue::from(())).take(field_count).collect()),
      }
   }
/// Creates a new instance of this struct type.
Creates a new instance of this struct type.
Creates a new instance of this struct type .
pub(crate) unsafe fn new_instance(&self, field_count: usize) -> Self {
      Self {
         dtable: UnsafeCell::new(self.dtable().instance.unwrap_unchecked()),
         sealed: Cell::new(true),
         fields: UnsafeCell::new(std::iter::repeat(RawValue::from(())).take(field_count).collect()),
      }
   }
pub ( crate ) unsafe fn new_instance ( & self , field_count : usize ) -> Self { Self { dtable : UnsafeCell :: new ( self . dtable ( ) . instance . unwrap_unchecked ( ) ) , sealed : Cell :: new ( true ) , fields : UnsafeCell :: new ( std :: iter :: repeat ( RawValue :: from ( ( ) ) ) . take ( field_count ) . collect ( ) ) , } }
Creates a new instance of this struct type.
Creates a new instance of this struct type .
&self
field_count
usize