pub struct RegisteredHook {
pub plugin_id: PluginId,
pub plugin_root: PathBuf,
pub priority: RegisteredHookPriority,
pub hook: Hook,
}Expand description
SDK hook with plugin identity and priority metadata.
Fields§
§plugin_id: PluginId§plugin_root: PathBuf§priority: RegisteredHookPriority§hook: HookTrait Implementations§
Source§impl Clone for RegisteredHook
impl Clone for RegisteredHook
Source§fn clone(&self) -> RegisteredHook
fn clone(&self) -> RegisteredHook
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for RegisteredHook
impl !UnwindSafe for RegisteredHook
impl Freeze for RegisteredHook
impl Send for RegisteredHook
impl Sync for RegisteredHook
impl Unpin for RegisteredHook
impl UnsafeUnpin for RegisteredHook
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