Struct msfs::sys::ELEMENT_ICON
source · #[repr(C, packed(4))]pub struct ELEMENT_ICON {Show 14 fields
pub __bindgen_anon_1: ELEMENT_ICON__bindgen_ty_1,
pub source_var: MODULE_VAR,
pub source_var_cb: PMODULE_VAR_CB,
pub switch_type: SINT32,
pub switch_count: SINT32,
pub scale: FLOAT64,
pub offset: SINT32,
pub num_icons: SINT32,
pub cur_icon: SINT32,
pub dst_icon: SINT32,
pub picon_data: PIMAGE_SET,
pub save_buffer: PIMAGE,
pub update_cb: PICON_UPDATE_CALLBACK,
pub reserved1: ID,
}
Fields§
§__bindgen_anon_1: ELEMENT_ICON__bindgen_ty_1
§source_var: MODULE_VAR
§source_var_cb: PMODULE_VAR_CB
§switch_type: SINT32
§switch_count: SINT32
§scale: FLOAT64
§offset: SINT32
§num_icons: SINT32
§cur_icon: SINT32
§dst_icon: SINT32
§picon_data: PIMAGE_SET
§save_buffer: PIMAGE
§update_cb: PICON_UPDATE_CALLBACK
§reserved1: ID
Trait Implementations§
source§impl Clone for ELEMENT_ICON
impl Clone for ELEMENT_ICON
source§fn clone(&self) -> ELEMENT_ICON
fn clone(&self) -> ELEMENT_ICON
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_ICON
Auto Trait Implementations§
impl Freeze for ELEMENT_ICON
impl RefUnwindSafe for ELEMENT_ICON
impl !Send for ELEMENT_ICON
impl !Sync for ELEMENT_ICON
impl Unpin for ELEMENT_ICON
impl UnwindSafe for ELEMENT_ICON
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