pub unsafe fn write_field<T: Copy>(object: Object, offset: usize, value: T)Expand description
Writes a managed object’s field at offset. Only for fields that don’t hold references.
§Safety
object must be a live object with a field of type T at offset.