[][src]Struct leap_sys::_LEAP_IMAGE_EVENT

#[repr(C, packed)]pub struct _LEAP_IMAGE_EVENT {
    pub info: LEAP_FRAME_HEADER,
    pub image: [LEAP_IMAGE; 2],
    pub calib: LEAP_CALIBRATION,
}

\ingroup Structs Streaming stereo image pairs from the device.

LeapPollConnection() produces this message when an image is available. The struct contains image properties, the distortion grid, and a pointer to the buffer containing the image data -- which was allocated using the allocator function passed to LeapC using the LeapSetAllocator. @since 4.0.0

Fields

info: LEAP_FRAME_HEADER

The information header identifying the images tracking frame.

image: [LEAP_IMAGE; 2]

The left and right images.

calib: LEAP_CALIBRATION

For internal use only.

Trait Implementations

impl Clone for _LEAP_IMAGE_EVENT[src]

impl Copy for _LEAP_IMAGE_EVENT[src]

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