Struct msfs::sys::ELEMENT_NEEDLE

source ·
#[repr(C, packed(4))]
pub struct ELEMENT_NEEDLE {
Show 25 fields pub __bindgen_anon_1: ELEMENT_NEEDLE__bindgen_ty_1, pub source_var: MODULE_VAR, pub source_var_cb: PMODULE_VAR_CB, pub display_value_fn: PFN_FLOAT64, pub angle_fn: PFN_FLOAT64, pub lag_fn: PFN_FLOAT64, pub reference: PIXPOINT, pub nonlinearity_table: PNONLINEARITY, pub nonlinearity_table_size: UINT32, pub max_degrees_per_tick: SINT32, pub readout_goal: FLOAT64, pub theta_goal: FLOAT64, pub theta: FLOAT64, pub reference_old: PIXPOINT, pub o0: PIXPOINT, pub o1: PIXPOINT, pub o2: PIXPOINT, pub o3: PIXPOINT, pub needle_data: IMAGE_SET, pub texture_data: PIMAGE, pub texture_handle: UINT32, pub save_buffer: PIMAGE, pub save_position: PIXPOINT, pub update_cb: PNEEDLE_UPDATE_CALLBACK, pub save_size: PIXPOINT,
}

Fields§

§__bindgen_anon_1: ELEMENT_NEEDLE__bindgen_ty_1§source_var: MODULE_VAR§source_var_cb: PMODULE_VAR_CB§display_value_fn: PFN_FLOAT64§angle_fn: PFN_FLOAT64§lag_fn: PFN_FLOAT64§reference: PIXPOINT§nonlinearity_table: PNONLINEARITY§nonlinearity_table_size: UINT32§max_degrees_per_tick: SINT32§readout_goal: FLOAT64§theta_goal: FLOAT64§theta: FLOAT64§reference_old: PIXPOINT§o0: PIXPOINT§o1: PIXPOINT§o2: PIXPOINT§o3: PIXPOINT§needle_data: IMAGE_SET§texture_data: PIMAGE§texture_handle: UINT32§save_buffer: PIMAGE§save_position: PIXPOINT§update_cb: PNEEDLE_UPDATE_CALLBACK§save_size: PIXPOINT

Trait Implementations§

source§

impl Clone for ELEMENT_NEEDLE

source§

fn clone(&self) -> ELEMENT_NEEDLE

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_NEEDLE

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.