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 Freeze for MethodHook
impl Unpin for MethodHook
impl UnsafeUnpin for MethodHook
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