pub struct HOOKS { /* private fields */ }Methods from Deref<Target = Hooks>§
Sourcepub fn ensure_init(&self)
pub fn ensure_init(&self)
Load the plugin and initialize it if it hasn’t been loaded already.
pub fn add_hook(&self, hook: &Hook)
pub fn enable_hooking(&self)
pub fn disable_hooking(&self)
pub fn add_symbol_hook(&self, hook: &SymbolHook)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for HOOKS
impl RefUnwindSafe for HOOKS
impl Send for HOOKS
impl Sync for HOOKS
impl Unpin for HOOKS
impl UnwindSafe for HOOKS
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