pub struct IOHIDQueueInterface {Show 17 fields
pub QueryInterface: Option<unsafe extern "C-unwind" fn(*mut c_void, REFIID, *mut LPVOID) -> HRESULT>,
pub AddRef: Option<unsafe extern "C-unwind" fn(*mut c_void) -> ULONG>,
pub Release: Option<unsafe extern "C-unwind" fn(*mut c_void) -> ULONG>,
pub createAsyncEventSource: Option<unsafe extern "C-unwind" fn(*mut c_void, *mut *mut CFRunLoopSource) -> IOReturn>,
pub getAsyncEventSource: Option<unsafe extern "C-unwind" fn(*mut c_void) -> *mut CFRunLoopSource>,
pub createAsyncPort: Option<unsafe extern "C-unwind" fn(*mut c_void, *mut mach_port_t) -> IOReturn>,
pub getAsyncPort: Option<unsafe extern "C-unwind" fn(*mut c_void) -> mach_port_t>,
pub create: Option<unsafe extern "C-unwind" fn(*mut c_void, u32, u32) -> IOReturn>,
pub dispose: Option<unsafe extern "C-unwind" fn(*mut c_void) -> IOReturn>,
pub addElement: Option<unsafe extern "C-unwind" fn(*mut c_void, IOHIDElementCookie, u32) -> IOReturn>,
pub removeElement: Option<unsafe extern "C-unwind" fn(*mut c_void, IOHIDElementCookie) -> IOReturn>,
pub hasElement: Option<unsafe extern "C-unwind" fn(*mut c_void, IOHIDElementCookie) -> u8>,
pub start: Option<unsafe extern "C-unwind" fn(*mut c_void) -> IOReturn>,
pub stop: Option<unsafe extern "C-unwind" fn(*mut c_void) -> IOReturn>,
pub getNextEvent: Option<unsafe extern "C-unwind" fn(*mut c_void, *mut IOHIDEventStruct, i32, u32) -> IOReturn>,
pub setEventCallout: Option<unsafe extern "C-unwind" fn(*mut c_void, IOHIDCallbackFunction, *mut c_void, *mut c_void) -> IOReturn>,
pub getEventCallout: Option<unsafe extern "C-unwind" fn(*mut c_void, *mut IOHIDCallbackFunction, *mut *mut c_void, *mut *mut c_void) -> IOReturn>,
/* private fields */
}Available on crate features
hid and libc only.Expand description
Fields§
§QueryInterface: Option<unsafe extern "C-unwind" fn(*mut c_void, REFIID, *mut LPVOID) -> HRESULT>§AddRef: Option<unsafe extern "C-unwind" fn(*mut c_void) -> ULONG>§Release: Option<unsafe extern "C-unwind" fn(*mut c_void) -> ULONG>§createAsyncEventSource: Option<unsafe extern "C-unwind" fn(*mut c_void, *mut *mut CFRunLoopSource) -> IOReturn>§getAsyncEventSource: Option<unsafe extern "C-unwind" fn(*mut c_void) -> *mut CFRunLoopSource>§createAsyncPort: Option<unsafe extern "C-unwind" fn(*mut c_void, *mut mach_port_t) -> IOReturn>§getAsyncPort: Option<unsafe extern "C-unwind" fn(*mut c_void) -> mach_port_t>§create: Option<unsafe extern "C-unwind" fn(*mut c_void, u32, u32) -> IOReturn>§dispose: Option<unsafe extern "C-unwind" fn(*mut c_void) -> IOReturn>§addElement: Option<unsafe extern "C-unwind" fn(*mut c_void, IOHIDElementCookie, u32) -> IOReturn>§removeElement: Option<unsafe extern "C-unwind" fn(*mut c_void, IOHIDElementCookie) -> IOReturn>§hasElement: Option<unsafe extern "C-unwind" fn(*mut c_void, IOHIDElementCookie) -> u8>§start: Option<unsafe extern "C-unwind" fn(*mut c_void) -> IOReturn>§stop: Option<unsafe extern "C-unwind" fn(*mut c_void) -> IOReturn>§getNextEvent: Option<unsafe extern "C-unwind" fn(*mut c_void, *mut IOHIDEventStruct, i32, u32) -> IOReturn>§setEventCallout: Option<unsafe extern "C-unwind" fn(*mut c_void, IOHIDCallbackFunction, *mut c_void, *mut c_void) -> IOReturn>§getEventCallout: Option<unsafe extern "C-unwind" fn(*mut c_void, *mut IOHIDCallbackFunction, *mut *mut c_void, *mut *mut c_void) -> IOReturn>Trait Implementations§
Source§impl Clone for IOHIDQueueInterface
impl Clone for IOHIDQueueInterface
Source§fn clone(&self) -> IOHIDQueueInterface
fn clone(&self) -> IOHIDQueueInterface
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 IOHIDQueueInterface
impl Debug for IOHIDQueueInterface
Source§impl Encode for IOHIDQueueInterface
Available on crate feature objc2 only.
impl Encode for IOHIDQueueInterface
Available on crate feature
objc2 only.Source§impl PartialEq for IOHIDQueueInterface
impl PartialEq for IOHIDQueueInterface
Source§impl RefEncode for IOHIDQueueInterface
Available on crate feature objc2 only.
impl RefEncode for IOHIDQueueInterface
Available on crate feature
objc2 only.Source§const ENCODING_REF: Encoding
const ENCODING_REF: Encoding
The Objective-C type-encoding for a reference of this type. Read more
impl Copy for IOHIDQueueInterface
impl StructuralPartialEq for IOHIDQueueInterface
Auto Trait Implementations§
impl Freeze for IOHIDQueueInterface
impl RefUnwindSafe for IOHIDQueueInterface
impl !Send for IOHIDQueueInterface
impl !Sync for IOHIDQueueInterface
impl Unpin for IOHIDQueueInterface
impl UnwindSafe for IOHIDQueueInterface
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> EncodeArgument for Twhere
T: Encode,
impl<T> EncodeArgument for Twhere
T: Encode,
Source§const ENCODING_ARGUMENT: Encoding = T::ENCODING
const ENCODING_ARGUMENT: Encoding = T::ENCODING
The Objective-C type-encoding for this type.
Source§impl<T> EncodeReturn for Twhere
T: Encode,
impl<T> EncodeReturn for Twhere
T: Encode,
Source§const ENCODING_RETURN: Encoding = T::ENCODING
const ENCODING_RETURN: Encoding = T::ENCODING
The Objective-C type-encoding for this type.