Struct leap_sys::_LEAP_DEVICE_REF
source · [−]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.
Fields
handle: *mut c_void
An opaque handle. @since 3.0.0
id: u32
a generic identifier. @since 3.0.0
Trait Implementations
sourceimpl Clone for _LEAP_DEVICE_REF
impl Clone for _LEAP_DEVICE_REF
sourcefn clone(&self) -> _LEAP_DEVICE_REF
fn clone(&self) -> _LEAP_DEVICE_REF
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for _LEAP_DEVICE_REF
impl Debug for _LEAP_DEVICE_REF
impl Copy for _LEAP_DEVICE_REF
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more