Struct red4ext_rs::Hook
source · pub struct Hook<O, R>(/* private fields */);
Expand description
A wrapper around function pointers that can be passed to SdkEnv::attach_hook
to install
detours.
Trait Implementations§
Auto Trait Implementations§
impl<O, R> Freeze for Hook<O, R>where
O: Freeze,
impl<O, R> RefUnwindSafe for Hook<O, R>where
O: RefUnwindSafe,
R: RefUnwindSafe,
impl<O, R> !Send for Hook<O, R>
impl<O, R> !Sync for Hook<O, R>
impl<O, R> Unpin for Hook<O, R>where
O: Unpin,
impl<O, R> UnwindSafe for Hook<O, R>
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