[][src]Struct leap_sys::_LEAP_DEVICE_EVENT

#[repr(C, packed)]pub struct _LEAP_DEVICE_EVENT {
    pub flags: u32,
    pub device: LEAP_DEVICE_REF,
    pub status: u32,
}

\ingroup Structs Device event information.

LeapPollConnection() produces a message containing this event when a new device is detected. You can use the handle provided by the device filed to open a device so that you can access its properties. @since 3.0.0

Fields

flags: u32

Reserved for future use. @since 3.0.0

device: LEAP_DEVICE_REF

The handle reference of to the newly attached device. @since 3.0.0

status: u32

The status of the connected device. A combination of flags from the eLeapDeviceStatus collection.

Trait Implementations

impl Clone for _LEAP_DEVICE_EVENT[src]

impl Copy for _LEAP_DEVICE_EVENT[src]

impl Debug for _LEAP_DEVICE_EVENT[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.