pub struct IOHIDOutputTransactionInterface {Show 18 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) -> 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) -> 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 setElementDefault: Option<unsafe extern "C-unwind" fn(*mut c_void, IOHIDElementCookie, *mut IOHIDEventStruct) -> IOReturn>,
pub getElementDefault: Option<unsafe extern "C-unwind" fn(*mut c_void, IOHIDElementCookie, *mut IOHIDEventStruct) -> IOReturn>,
pub setElementValue: Option<unsafe extern "C-unwind" fn(*mut c_void, IOHIDElementCookie, *mut IOHIDEventStruct) -> IOReturn>,
pub getElementValue: Option<unsafe extern "C-unwind" fn(*mut c_void, IOHIDElementCookie, *mut IOHIDEventStruct) -> IOReturn>,
pub commit: Option<unsafe extern "C-unwind" fn(*mut c_void, u32, IOHIDCallbackFunction, *mut c_void, *mut c_void) -> IOReturn>,
pub clear: Option<unsafe extern "C-unwind" fn(*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) -> IOReturn>§dispose: Option<unsafe extern "C-unwind" fn(*mut c_void) -> IOReturn>§addElement: Option<unsafe extern "C-unwind" fn(*mut c_void, IOHIDElementCookie) -> 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>§setElementDefault: Option<unsafe extern "C-unwind" fn(*mut c_void, IOHIDElementCookie, *mut IOHIDEventStruct) -> IOReturn>§getElementDefault: Option<unsafe extern "C-unwind" fn(*mut c_void, IOHIDElementCookie, *mut IOHIDEventStruct) -> IOReturn>§setElementValue: Option<unsafe extern "C-unwind" fn(*mut c_void, IOHIDElementCookie, *mut IOHIDEventStruct) -> IOReturn>§getElementValue: Option<unsafe extern "C-unwind" fn(*mut c_void, IOHIDElementCookie, *mut IOHIDEventStruct) -> IOReturn>§commit: Option<unsafe extern "C-unwind" fn(*mut c_void, u32, IOHIDCallbackFunction, *mut c_void, *mut c_void) -> IOReturn>§clear: Option<unsafe extern "C-unwind" fn(*mut c_void) -> IOReturn>Trait Implementations§
Source§impl Clone for IOHIDOutputTransactionInterface
impl Clone for IOHIDOutputTransactionInterface
Source§fn clone(&self) -> IOHIDOutputTransactionInterface
fn clone(&self) -> IOHIDOutputTransactionInterface
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 Encode for IOHIDOutputTransactionInterface
Available on crate feature objc2 only.
impl Encode for IOHIDOutputTransactionInterface
Available on crate feature
objc2 only.Source§impl PartialEq for IOHIDOutputTransactionInterface
impl PartialEq for IOHIDOutputTransactionInterface
Source§fn eq(&self, other: &IOHIDOutputTransactionInterface) -> bool
fn eq(&self, other: &IOHIDOutputTransactionInterface) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl RefEncode for IOHIDOutputTransactionInterface
Available on crate feature objc2 only.
impl RefEncode for IOHIDOutputTransactionInterface
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 IOHIDOutputTransactionInterface
impl StructuralPartialEq for IOHIDOutputTransactionInterface
Auto Trait Implementations§
impl Freeze for IOHIDOutputTransactionInterface
impl RefUnwindSafe for IOHIDOutputTransactionInterface
impl !Send for IOHIDOutputTransactionInterface
impl !Sync for IOHIDOutputTransactionInterface
impl Unpin for IOHIDOutputTransactionInterface
impl UnwindSafe for IOHIDOutputTransactionInterface
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.