#[repr(C, packed)]
pub struct _LEAP_IMAGE_FRAME_DESCRIPTION { pub frame_id: i64, pub type_: eLeapImageType, pub buffer_len: u64, pub pBuffer: *mut c_void, }
Expand description

\ingroup Structs Describes the image to request. Pass this struct to the LeapImageRequest() function. @since 3.0.0

Fields

frame_id: i64

The ID of the frame corresponding to the desired image. @since 3.0.0

type_: eLeapImageType

The type of the desired image. @since 3.0.0

buffer_len: u64

Length of your image buffer. The buffer must be large enough to hold the request image.

pBuffer: *mut c_void

An allocated buffer large enough to contain the requested image. The buffer must remain valid until the image request completes or fails. @since 3.0.0

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.