Struct leap_sys::_LEAP_IMAGE_PROPERTIES
source · [−]#[repr(C, packed)]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_: eLeapImageType
The type of this image. @since 3.0.0
format: eLeapImageFormat
The format of this image. @since 3.0.0
bpp: u32
The number of bytes per image pixel. @since 3.0.0
width: u32
The number of horizontal pixels in the image. @since 3.0.0
height: u32
The number of rows of pixels in the image. @since 3.0.0
x_scale: f32
Reserved for future use. @since 3.0.0
y_scale: f32
Reserved for future use. @since 3.0.0
x_offset: f32
Reserved for future use. @since 3.0.0
y_offset: f32
Reserved for future use. @since 3.0.0
Trait Implementations
sourceimpl Clone for _LEAP_IMAGE_PROPERTIES
impl Clone for _LEAP_IMAGE_PROPERTIES
sourcefn clone(&self) -> _LEAP_IMAGE_PROPERTIES
fn clone(&self) -> _LEAP_IMAGE_PROPERTIES
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_PROPERTIES
impl Debug for _LEAP_IMAGE_PROPERTIES
impl Copy for _LEAP_IMAGE_PROPERTIES
Auto Trait Implementations
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
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