Struct msfs::sys::GAUGEHDR

source ·
#[repr(C, packed(4))]
pub struct GAUGEHDR {
Show 38 fields pub gauge_header_version: UINT32, pub gauge_name: *mut c_char, pub elements_list: PPELEMENT_HEADER, pub query_routine: PQUERY_ROUTINE, pub install_routine: PINSTALL_ROUTINE, pub initialize_routine: PINITIALIZE_ROUTINE, pub update_routine: PUPDATE_ROUTINE, pub generate_routine: PGENERATE_ROUTINE, pub draw_routine: PDRAW_ROUTINE, pub kill_routine: PKILL_ROUTINE, pub reserved1: PVOID, pub size_x_mm: UINT32, pub size_y_mm: UINT32, pub x_adjust: FLOAT32, pub y_adjust: FLOAT32, pub reserved2: PVOID, pub reserved3: PVOID, pub position: PIXPOINT, pub reserved4: PVOID, pub mouse_rect: PMOUSERECT, pub gauge_callback: PGAUGE_CALLBACK, pub user_data: UINT32, pub parameters: *mut c_char, pub usage: *mut c_char, pub reserved5: SINT32, pub reserved6: PVOID, pub size: PIXPOINT, pub user_area: [FLOAT64; 10], pub flags: FLAGS32, pub reserved7: PVOID, pub guid: GUID, pub key_id: UINT32, pub serialize_size_callback: PSERIALIZE_SIZE_CALLBACK, pub serialize_callback: PSERIALIZE_CALLBACK, pub deserialize_callback: PDESERIALIZE_CALLBACK, pub event_size_callback: PEVENT_SIZE_CALLBACK, pub process_event_callback: PPROCESS_EVENT_CALLBACK, pub original_position: PIXPOINT,
}

Fields§

§gauge_header_version: UINT32§gauge_name: *mut c_char§elements_list: PPELEMENT_HEADER§query_routine: PQUERY_ROUTINE§install_routine: PINSTALL_ROUTINE§initialize_routine: PINITIALIZE_ROUTINE§update_routine: PUPDATE_ROUTINE§generate_routine: PGENERATE_ROUTINE§draw_routine: PDRAW_ROUTINE§kill_routine: PKILL_ROUTINE§reserved1: PVOID§size_x_mm: UINT32§size_y_mm: UINT32§x_adjust: FLOAT32§y_adjust: FLOAT32§reserved2: PVOID§reserved3: PVOID§position: PIXPOINT§reserved4: PVOID§mouse_rect: PMOUSERECT§gauge_callback: PGAUGE_CALLBACK§user_data: UINT32§parameters: *mut c_char§usage: *mut c_char§reserved5: SINT32§reserved6: PVOID§size: PIXPOINT§user_area: [FLOAT64; 10]§flags: FLAGS32§reserved7: PVOID§guid: GUID§key_id: UINT32§serialize_size_callback: PSERIALIZE_SIZE_CALLBACK§serialize_callback: PSERIALIZE_CALLBACK§deserialize_callback: PDESERIALIZE_CALLBACK§event_size_callback: PEVENT_SIZE_CALLBACK§process_event_callback: PPROCESS_EVENT_CALLBACK§original_position: PIXPOINT

Trait Implementations§

source§

impl Clone for GAUGEHDR

source§

fn clone(&self) -> GAUGEHDR

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 Debug for GAUGEHDR

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Copy for GAUGEHDR

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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 Twhere 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 Twhere 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 Twhere 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 Twhere 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.