Skip to main content

add_hook_with_matcher

Method
This is a method of the HookRegistry class in the hooks module.
Add a hook with matcher

Signature

Parameters

HookEvent
required
No description available.
impl Into<String>
required
No description available.
impl Fn(&HookInput
required
No description available.

Returns

HookResult + Send + Sync + 'static, ) -> &mut Self
The result of the operation.

Rust Hooks

Rust Events

Rust Callbacks