[][src]Struct leap_sys::_LEAP_DEVICE_INFO

#[repr(C, packed)]pub struct _LEAP_DEVICE_INFO {
    pub size: u32,
    pub status: u32,
    pub caps: u32,
    pub pid: eLeapDevicePID,
    pub baseline: u32,
    pub serial_length: u32,
    pub serial: *mut c_char,
    pub h_fov: f32,
    pub v_fov: f32,
    pub range: u32,
}

\ingroup Structs Properties of a Leap device. Get a LEAP_DEVICE_INFO by calling LeapGetDeviceInfo() with the handle for device. The device must be open. @since 3.0.0

Fields

size: u32

Size of this structure. @since 3.0.0

status: u32

A combination of eLeapDeviceStatus flags. @since 3.0.0

caps: u32

A combination of eLeapDeviceCaps flags. @since 3.0.0

pid: eLeapDevicePID

One of the eLeapDevicePID members. @since 3.0.0

baseline: u32

The device baseline, in micrometers.

The baseline is defined as the distance between the center axis of each lens in a stereo camera system. For other camera systems, this value is set to zero. @since 3.0.0

serial_length: u32

The required length of the serial number char buffer including the null character. @since 3.0.0

serial: *mut c_char

A pointer to the null-terminated device serial number string. @since 3.0.0

h_fov: f32

The horizontal field of view of this device in radians. @since 3.0.0

v_fov: f32

The vertical field of view of this device in radians. @since 3.0.0

range: u32

The maximum range for this device, in micrometers. @since 3.0.0

Trait Implementations

impl Clone for _LEAP_DEVICE_INFO[src]

impl Copy for _LEAP_DEVICE_INFO[src]

impl Debug for _LEAP_DEVICE_INFO[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.