[−][src]Struct leap_sys::_LEAP_DEVICE_REF
\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.
Fields
handle: *mut c_voidAn opaque handle. @since 3.0.0
id: u32a generic identifier. @since 3.0.0
Trait Implementations
impl Clone for _LEAP_DEVICE_REF[src]
fn clone(&self) -> _LEAP_DEVICE_REF[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Copy for _LEAP_DEVICE_REF[src]
impl Debug for _LEAP_DEVICE_REF[src]
Auto Trait Implementations
impl RefUnwindSafe for _LEAP_DEVICE_REF
impl !Send for _LEAP_DEVICE_REF
impl !Sync for _LEAP_DEVICE_REF
impl Unpin for _LEAP_DEVICE_REF
impl UnwindSafe for _LEAP_DEVICE_REF
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,