Writes the Dart value value into the struct at ptr.
value
ptr
@override late final void Function(Pointer<C> ptr, D value) writeIntoFunc;