LEAP_DEVICE_REF

Type Alias LEAP_DEVICE_REF 

Source
pub type LEAP_DEVICE_REF = _LEAP_DEVICE_REF;
Expand description

\ingroup Structs A reference to a Leap device.

Get a LEAP_DEVICE_REF by calling LeapGetDeviceList(). Access a device by calling LeapOpenDevice() with this reference. LeapOpenDevice() provides a LEAP_DEVICE struct, which is a handle to an open device.

Aliased Type§

#[repr(C, packed(1))]
pub struct LEAP_DEVICE_REF { pub handle: *mut c_void, pub id: u32, }

Fields§

§handle: *mut c_void

An opaque handle. @since 3.0.0

§id: u32

a generic identifier. @since 3.0.0