You mention ptr::write() but it is not used here, and I don't see how you could use it to write to a field?
You mention ptr::write() but it is not used here, and I don't see how you could use it to write to a field?