#[repr(C)]pub struct _PointerHooks {
pub DownHook: Option<unsafe extern "C" fn(index: c_int) -> cc_bool>,
pub UpHook: Option<unsafe extern "C" fn(index: c_int) -> cc_bool>,
pub MoveHook: Option<unsafe extern "C" fn(index: c_int) -> cc_bool>,
}Fields§
§DownHook: Option<unsafe extern "C" fn(index: c_int) -> cc_bool>§UpHook: Option<unsafe extern "C" fn(index: c_int) -> cc_bool>§MoveHook: Option<unsafe extern "C" fn(index: c_int) -> cc_bool>Trait Implementations§
Source§impl Clone for _PointerHooks
impl Clone for _PointerHooks
Source§fn clone(&self) -> _PointerHooks
fn clone(&self) -> _PointerHooks
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for _PointerHooks
impl Debug for _PointerHooks
Source§impl Hash for _PointerHooks
impl Hash for _PointerHooks
Source§impl PartialEq for _PointerHooks
impl PartialEq for _PointerHooks
impl Copy for _PointerHooks
impl Eq for _PointerHooks
impl StructuralPartialEq for _PointerHooks
Auto Trait Implementations§
impl Freeze for _PointerHooks
impl RefUnwindSafe for _PointerHooks
impl Send for _PointerHooks
impl Sync for _PointerHooks
impl Unpin for _PointerHooks
impl UnsafeUnpin for _PointerHooks
impl UnwindSafe for _PointerHooks
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