Struct leap_sys::_LEAP_IMAGE_FRAME_DESCRIPTION
source · [−]#[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
sourceimpl Clone for _LEAP_IMAGE_FRAME_DESCRIPTION
impl Clone for _LEAP_IMAGE_FRAME_DESCRIPTION
sourcefn clone(&self) -> _LEAP_IMAGE_FRAME_DESCRIPTION
fn clone(&self) -> _LEAP_IMAGE_FRAME_DESCRIPTION
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_FRAME_DESCRIPTION
impl Debug for _LEAP_IMAGE_FRAME_DESCRIPTION
impl Copy for _LEAP_IMAGE_FRAME_DESCRIPTION
Auto Trait Implementations
impl RefUnwindSafe for _LEAP_IMAGE_FRAME_DESCRIPTION
impl !Send for _LEAP_IMAGE_FRAME_DESCRIPTION
impl !Sync for _LEAP_IMAGE_FRAME_DESCRIPTION
impl Unpin for _LEAP_IMAGE_FRAME_DESCRIPTION
impl UnwindSafe for _LEAP_IMAGE_FRAME_DESCRIPTION
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