Struct msfs::sys::ELEMENT_SPRITE

source ·
#[repr(C, packed(4))]
pub struct ELEMENT_SPRITE {
Show 34 fields pub __bindgen_anon_1: ELEMENT_SPRITE__bindgen_ty_1, pub source_var_x: MODULE_VAR, pub source_var_x_cb: PMODULE_VAR_CB, pub scale_x: FLOAT64, pub source_var_y: MODULE_VAR, pub source_var_y_cb: PMODULE_VAR_CB, pub scale_y: FLOAT64, pub source_var_0: MODULE_VAR, pub source_var_0_cb: PMODULE_VAR_CB, pub scale_0: FLOAT64, pub texture_scale_x: FLOAT32, pub texture_scale_y: FLOAT32, pub reference: PIXPOINT, pub reference_old: PIXPOINT, pub o0: PIXPOINT, pub o1: PIXPOINT, pub o2: PIXPOINT, pub o3: PIXPOINT, pub os0: PIXPOINT, pub os1: PIXPOINT, pub os2: PIXPOINT, pub os3: PIXPOINT, pub sprite_data: IMAGE_SET, pub texture_data: PIMAGE, pub texture_handle: UINT32, pub local_mask_data: IMAGE_SET, pub mask_data: PIMAGE, pub save_buffer: PIMAGE, pub update_x_cb: PSPRITE_UPDATE_CALLBACK, pub update_y_cb: PSPRITE_UPDATE_CALLBACK, pub update_0_cb: PSPRITE_UPDATE_CALLBACK, pub previous_x: FLOAT64, pub previous_y: FLOAT64, pub previous_0: FLOAT64,
}

Fields§

§__bindgen_anon_1: ELEMENT_SPRITE__bindgen_ty_1§source_var_x: MODULE_VAR§source_var_x_cb: PMODULE_VAR_CB§scale_x: FLOAT64§source_var_y: MODULE_VAR§source_var_y_cb: PMODULE_VAR_CB§scale_y: FLOAT64§source_var_0: MODULE_VAR§source_var_0_cb: PMODULE_VAR_CB§scale_0: FLOAT64§texture_scale_x: FLOAT32§texture_scale_y: FLOAT32§reference: PIXPOINT§reference_old: PIXPOINT§o0: PIXPOINT§o1: PIXPOINT§o2: PIXPOINT§o3: PIXPOINT§os0: PIXPOINT§os1: PIXPOINT§os2: PIXPOINT§os3: PIXPOINT§sprite_data: IMAGE_SET§texture_data: PIMAGE§texture_handle: UINT32§local_mask_data: IMAGE_SET§mask_data: PIMAGE§save_buffer: PIMAGE§update_x_cb: PSPRITE_UPDATE_CALLBACK§update_y_cb: PSPRITE_UPDATE_CALLBACK§update_0_cb: PSPRITE_UPDATE_CALLBACK§previous_x: FLOAT64§previous_y: FLOAT64§previous_0: FLOAT64

Trait Implementations§

source§

impl Clone for ELEMENT_SPRITE

source§

fn clone(&self) -> ELEMENT_SPRITE

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Copy for ELEMENT_SPRITE

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

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

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

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

fn clone_into(&self, target: &mut T)

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

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.