Struct msfs::sys::ELEMENT_MOVING_IMAGE

source ·
#[repr(C, packed(4))]
pub struct ELEMENT_MOVING_IMAGE {
Show 24 fields pub __bindgen_anon_1: ELEMENT_MOVING_IMAGE__bindgen_ty_1, pub source_var_x: MODULE_VAR, pub source_var_x_cb: PMODULE_VAR_CB, pub min_x: FLOAT64, pub max_x: FLOAT64, pub lag_x: PFN_FLOAT64, pub source_var_y: MODULE_VAR, pub source_var_y_cb: PMODULE_VAR_CB, pub min_y: FLOAT64, pub max_y: FLOAT64, pub lag_y: PFN_FLOAT64, pub scale_x: FLOAT64, pub scale_y: FLOAT64, pub offset_x: FLOAT64, pub offset_y: FLOAT64, pub save_position: PIXPOINT, pub image_data: IMAGE_SET, pub local_mask_data: IMAGE_SET, pub mask_data: PIMAGE, pub save_buffer: PIMAGE, pub update_x_cb: PMOVING_IMAGE_UPDATE_CALLBACK, pub update_y_cb: PMOVING_IMAGE_UPDATE_CALLBACK, pub previous_x: FLOAT64, pub previous_y: FLOAT64,
}

Fields§

§__bindgen_anon_1: ELEMENT_MOVING_IMAGE__bindgen_ty_1§source_var_x: MODULE_VAR§source_var_x_cb: PMODULE_VAR_CB§min_x: FLOAT64§max_x: FLOAT64§lag_x: PFN_FLOAT64§source_var_y: MODULE_VAR§source_var_y_cb: PMODULE_VAR_CB§min_y: FLOAT64§max_y: FLOAT64§lag_y: PFN_FLOAT64§scale_x: FLOAT64§scale_y: FLOAT64§offset_x: FLOAT64§offset_y: FLOAT64§save_position: PIXPOINT§image_data: IMAGE_SET§local_mask_data: IMAGE_SET§mask_data: PIMAGE§save_buffer: PIMAGE§update_x_cb: PMOVING_IMAGE_UPDATE_CALLBACK§update_y_cb: PMOVING_IMAGE_UPDATE_CALLBACK§previous_x: FLOAT64§previous_y: FLOAT64

Trait Implementations§

source§

impl Clone for ELEMENT_MOVING_IMAGE

source§

fn clone(&self) -> ELEMENT_MOVING_IMAGE

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_MOVING_IMAGE

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.