#[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

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.