pub struct ShellHook { /* private fields */ }Implementations§
Source§impl ShellHook
impl ShellHook
pub fn new(callback: Box<ShellHookCallback>) -> Result<Self>
pub fn with_on_hooked( callback: Box<ShellHookCallback>, on_hooked: impl FnOnce(&mut ShellHookCallback) + Send + 'static, ) -> Result<Self>
pub fn hwnd(&self) -> Option<HWND>
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for ShellHook
impl !RefUnwindSafe for ShellHook
impl Send for ShellHook
impl Sync for ShellHook
impl Unpin for ShellHook
impl UnsafeUnpin for ShellHook
impl !UnwindSafe for ShellHook
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