Represents the beginning of an editable region in the [`MachBuffer`], while code emission is still occurring. An [`OpenPatchRegion`] is closed by [`MachBuffer::end_patchable`], consuming the [`OpenPatchRegion`] token in the process.
| 478 | /// still occurring. An [`OpenPatchRegion`] is closed by [`MachBuffer::end_patchable`], consuming |
| 479 | /// the [`OpenPatchRegion`] token in the process. |
| 480 | pub struct OpenPatchRegion(usize); |
| 481 | |
| 482 | /// A region in the [`MachBuffer`] code buffer that can be edited prior to finalization. An example |
| 483 | /// of where you might want to use this is for patching instructions that mention constants that |