#[repr(C, packed(1))]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_HEADERThe information header identifying the images tracking frame.
image: [LEAP_IMAGE; 2]The left and right images.
calib: LEAP_CALIBRATIONFor internal use only.
Trait Implementations§
Source§impl Clone for _LEAP_IMAGE_EVENT
impl Clone for _LEAP_IMAGE_EVENT
Source§fn clone(&self) -> _LEAP_IMAGE_EVENT
fn clone(&self) -> _LEAP_IMAGE_EVENT
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for _LEAP_IMAGE_EVENT
impl Debug for _LEAP_IMAGE_EVENT
impl Copy for _LEAP_IMAGE_EVENT
Auto Trait Implementations§
impl Freeze for _LEAP_IMAGE_EVENT
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§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more