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
impl Clone for ELEMENT_SPRITE
source§fn clone(&self) -> ELEMENT_SPRITE
fn clone(&self) -> ELEMENT_SPRITE
Returns a copy 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 moreimpl Copy for ELEMENT_SPRITE
Auto Trait Implementations§
impl Freeze for ELEMENT_SPRITE
impl RefUnwindSafe for ELEMENT_SPRITE
impl !Send for ELEMENT_SPRITE
impl !Sync for ELEMENT_SPRITE
impl Unpin for ELEMENT_SPRITE
impl UnwindSafe for ELEMENT_SPRITE
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