#[repr(C, packed(1))]pub struct _LEAP_IMAGE_PROPERTIES {
pub type_: eLeapImageType,
pub format: eLeapImageFormat,
pub bpp: u32,
pub width: u32,
pub height: u32,
pub x_scale: f32,
pub y_scale: f32,
pub x_offset: f32,
pub y_offset: f32,
}Expand description
\ingroup Structs Properties of a sensor image. @since 3.0.0
Fields§
§type_: eLeapImageTypeThe type of this image. @since 3.0.0
format: eLeapImageFormatThe format of this image. @since 3.0.0
bpp: u32The number of bytes per image pixel. @since 3.0.0
width: u32The number of horizontal pixels in the image. @since 3.0.0
height: u32The number of rows of pixels in the image. @since 3.0.0
x_scale: f32Reserved for future use. @since 3.0.0
y_scale: f32Reserved for future use. @since 3.0.0
x_offset: f32Reserved for future use. @since 3.0.0
y_offset: f32Reserved for future use. @since 3.0.0
Trait Implementations§
Source§impl Clone for _LEAP_IMAGE_PROPERTIES
impl Clone for _LEAP_IMAGE_PROPERTIES
Source§fn clone(&self) -> _LEAP_IMAGE_PROPERTIES
fn clone(&self) -> _LEAP_IMAGE_PROPERTIES
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_PROPERTIES
impl Debug for _LEAP_IMAGE_PROPERTIES
impl Copy for _LEAP_IMAGE_PROPERTIES
Auto Trait Implementations§
impl Freeze for _LEAP_IMAGE_PROPERTIES
impl RefUnwindSafe for _LEAP_IMAGE_PROPERTIES
impl Send for _LEAP_IMAGE_PROPERTIES
impl Sync for _LEAP_IMAGE_PROPERTIES
impl Unpin for _LEAP_IMAGE_PROPERTIES
impl UnwindSafe for _LEAP_IMAGE_PROPERTIES
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