pub fn unregister_notification<F>(&mut self, handle: NotificationHandle<F>) {
        unsafe {
            ffi::vigem_target_x360_unregister_notification(self.target.as_ptr());
            let _ = Box::from_raw(handle.0);
        }
        self.has_notification = false;
    }
/// Unregister the current notification callback.
Unregister the current notification callback.
Unregister the current notification callback .
pub fn unregister_notification<F>(&mut self, handle: NotificationHandle<F>) {
        unsafe {
            ffi::vigem_target_x360_unregister_notification(self.target.as_ptr());
            let _ = Box::from_raw(handle.0);
        }
        self.has_notification = false;
    }
pub fn unregister_notification < F > ( & mut self , handle : NotificationHandle < F > ) { unsafe { ffi :: vigem_target_x360_unregister_notification ( self . target . as_ptr ( ) ) ; let _ = Box :: from_raw ( handle . 0 ) ; } self . has_notification = false ; }
Unregister the current notification callback.
Unregister the current notification callback .
&mut self
handle
NotificationHandle<F>
&mut self
handle
NotificationHandle<F>