Struct leap_sys::_LEAP_IMAGE_EVENT
source · [−]#[repr(C, packed)]pub struct _LEAP_IMAGE_EVENT {
pub info: LEAP_FRAME_HEADER,
pub image: [LEAP_IMAGE; 2],
pub calib: LEAP_CALIBRATION,
}
Expand description
\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
sourceimpl Clone for _LEAP_IMAGE_EVENT
impl Clone for _LEAP_IMAGE_EVENT
sourcefn clone(&self) -> _LEAP_IMAGE_EVENT
fn clone(&self) -> _LEAP_IMAGE_EVENT
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_IMAGE_EVENT
impl Debug for _LEAP_IMAGE_EVENT
impl Copy for _LEAP_IMAGE_EVENT
Auto Trait Implementations
impl RefUnwindSafe for _LEAP_IMAGE_EVENT
impl !Send for _LEAP_IMAGE_EVENT
impl !Sync for _LEAP_IMAGE_EVENT
impl Unpin for _LEAP_IMAGE_EVENT
impl UnwindSafe for _LEAP_IMAGE_EVENT
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