pub struct MethodHook(/* private fields */);Expand description
An applied method hook. Dropping it leaves the hook in place.
Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for MethodHook
impl !Send for MethodHook
impl !Sync for MethodHook
impl !UnwindSafe for MethodHook
impl Forget for MethodHook
impl Freeze for MethodHook
impl Move for MethodHook
impl Unpin for MethodHook
impl UnsafeUnpin for MethodHookwhere
*const c_void is !null: UnsafeUnpin,
&'static [u8]: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
&'static dyn PatchWriter: UnsafeUnpin,
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