pub struct ShellItemHooksInjectBuilder<'f1, 'f2, S: State = Empty> { /* private fields */ }Available on crate features
hook-dll and hook only.Expand description
Use builder syntax to set the inputs and finish with call().
Implementations§
Source§impl<'f1, 'f2, S: State> ShellItemHooksInjectBuilder<'f1, 'f2, S>
impl<'f1, 'f2, S: State> ShellItemHooksInjectBuilder<'f1, 'f2, S>
Sourcepub fn call(self) -> Result<ShellItemHooks>where
S: IsComplete,
pub fn call(self) -> Result<ShellItemHooks>where
S: IsComplete,
Finishes building and performs the requested action.
Sourcepub fn dll_path(
self,
value: &'f1 Path,
) -> ShellItemHooksInjectBuilder<'f1, 'f2, SetDllPath<S>>where
S::DllPath: IsUnset,
pub fn dll_path(
self,
value: &'f1 Path,
) -> ShellItemHooksInjectBuilder<'f1, 'f2, SetDllPath<S>>where
S::DllPath: IsUnset,
Required.
Path to the hook DLL
Sourcepub fn process_name(
self,
value: &'f2 str,
) -> ShellItemHooksInjectBuilder<'f1, 'f2, SetProcessName<S>>where
S::ProcessName: IsUnset,
pub fn process_name(
self,
value: &'f2 str,
) -> ShellItemHooksInjectBuilder<'f1, 'f2, SetProcessName<S>>where
S::ProcessName: IsUnset,
Sourcepub fn maybe_process_name(
self,
value: Option<&'f2 str>,
) -> ShellItemHooksInjectBuilder<'f1, 'f2, SetProcessName<S>>where
S::ProcessName: IsUnset,
pub fn maybe_process_name(
self,
value: Option<&'f2 str>,
) -> ShellItemHooksInjectBuilder<'f1, 'f2, SetProcessName<S>>where
S::ProcessName: IsUnset,
Sourcepub fn config(
self,
value: HookConfig,
) -> ShellItemHooksInjectBuilder<'f1, 'f2, SetConfig<S>>where
S::Config: IsUnset,
pub fn config(
self,
value: HookConfig,
) -> ShellItemHooksInjectBuilder<'f1, 'f2, SetConfig<S>>where
S::Config: IsUnset,
Sourcepub fn maybe_config(
self,
value: Option<HookConfig>,
) -> ShellItemHooksInjectBuilder<'f1, 'f2, SetConfig<S>>where
S::Config: IsUnset,
pub fn maybe_config(
self,
value: Option<HookConfig>,
) -> ShellItemHooksInjectBuilder<'f1, 'f2, SetConfig<S>>where
S::Config: IsUnset,
Auto Trait Implementations§
impl<'f1, 'f2, S> Freeze for ShellItemHooksInjectBuilder<'f1, 'f2, S>
impl<'f1, 'f2, S> RefUnwindSafe for ShellItemHooksInjectBuilder<'f1, 'f2, S>
impl<'f1, 'f2, S> Send for ShellItemHooksInjectBuilder<'f1, 'f2, S>
impl<'f1, 'f2, S> Sync for ShellItemHooksInjectBuilder<'f1, 'f2, S>
impl<'f1, 'f2, S> Unpin for ShellItemHooksInjectBuilder<'f1, 'f2, S>
impl<'f1, 'f2, S> UnsafeUnpin for ShellItemHooksInjectBuilder<'f1, 'f2, S>
impl<'f1, 'f2, S> UnwindSafe for ShellItemHooksInjectBuilder<'f1, 'f2, S>
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