pub struct Draw {Show 14 fields
pub set: Set,
pub index: u64,
pub design: usize,
pub impulse_scale: f64,
pub burn_time_scale: f64,
pub drag_scale: f64,
pub wind_speed_m_s: f64,
pub wind_from_rad: f64,
pub tilt_rad: f64,
pub azimuth_rad: f64,
pub elevation_m: f64,
pub temperature_offset_k: f64,
pub model: Model,
pub logger: LoggerDraw,
}Expand description
Everything one synthetic flight draws.
Fields§
§set: SetIts set.
index: u64Its index in the set.
design: usizeThe design, an index into DESIGNS.
impulse_scale: f64The motor’s impulse factor, 0.94–1.06.
burn_time_scale: f64Its burn time’s factor, 0.90–1.10.
drag_scale: f64The zero-lift drag’s factor, 0.8–1.2.
wind_speed_m_s: f64The wind’s speed, 0–8.9 m/s (at 18.3 m in set B).
wind_from_rad: f64The direction it blows from, rad clockwise from north.
tilt_rad: f64The rail’s angle from vertical, 0–10°, rad.
azimuth_rad: f64The direction it leans toward, rad clockwise from north.
elevation_m: f64The site’s elevation above mean sea level, 0–1,500 m.
temperature_offset_k: f64The air’s temperature offset from the 1976 standard, −15–15 K.
model: ModelThe model it flies.
logger: LoggerDrawIts logger.
Trait Implementations§
impl Copy for Draw
Source§impl<'de> Deserialize<'de> for Draw
impl<'de> Deserialize<'de> for Draw
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Draw
Auto Trait Implementations§
impl Freeze for Draw
impl RefUnwindSafe for Draw
impl Send for Draw
impl Sync for Draw
impl Unpin for Draw
impl UnsafeUnpin for Draw
impl UnwindSafe for Draw
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