Struct cranelift_codegen::OpenPatchRegion
source · pub struct OpenPatchRegion(/* private fields */);
Expand description
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.
Auto Trait Implementations§
impl Freeze for OpenPatchRegion
impl RefUnwindSafe for OpenPatchRegion
impl Send for OpenPatchRegion
impl Sync for OpenPatchRegion
impl Unpin for OpenPatchRegion
impl UnwindSafe for OpenPatchRegion
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more