Struct xplm_sys::XPLMWeatherInfo_t
source · #[repr(C)]pub struct XPLMWeatherInfo_t {Show 18 fields
pub structSize: c_int,
pub temperature_alt: f32,
pub dewpoint_alt: f32,
pub pressure_alt: f32,
pub precip_rate_alt: f32,
pub wind_dir_alt: f32,
pub wind_spd_alt: f32,
pub turbulence_alt: f32,
pub wave_height: f32,
pub wave_length: f32,
pub wave_dir: c_int,
pub wave_speed: f32,
pub visibility: f32,
pub precip_rate: f32,
pub thermal_climb: f32,
pub pressure_sl: f32,
pub wind_layers: [XPLMWeatherInfoWinds_t; 13],
pub cloud_layers: [XPLMWeatherInfoClouds_t; 3],
}
Fields§
§structSize: c_int
§temperature_alt: f32
§dewpoint_alt: f32
§pressure_alt: f32
§precip_rate_alt: f32
§wind_dir_alt: f32
§wind_spd_alt: f32
§turbulence_alt: f32
§wave_height: f32
§wave_length: f32
§wave_dir: c_int
§wave_speed: f32
§visibility: f32
§precip_rate: f32
§thermal_climb: f32
§pressure_sl: f32
§wind_layers: [XPLMWeatherInfoWinds_t; 13]
§cloud_layers: [XPLMWeatherInfoClouds_t; 3]
Trait Implementations§
source§impl Clone for XPLMWeatherInfo_t
impl Clone for XPLMWeatherInfo_t
source§fn clone(&self) -> XPLMWeatherInfo_t
fn clone(&self) -> XPLMWeatherInfo_t
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 moresource§impl Debug for XPLMWeatherInfo_t
impl Debug for XPLMWeatherInfo_t
impl Copy for XPLMWeatherInfo_t
Auto Trait Implementations§
impl RefUnwindSafe for XPLMWeatherInfo_t
impl Send for XPLMWeatherInfo_t
impl Sync for XPLMWeatherInfo_t
impl Unpin for XPLMWeatherInfo_t
impl UnwindSafe for XPLMWeatherInfo_t
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