pub struct LocalAir {
pub density_kg_m3: f64,
pub speed_of_sound_mps: f64,
pub temperature_k: f64,
pub pressure_pa: f64,
}Expand description
The air at one point of a flight, from air_at.
Fields§
§density_kg_m3: f64Local air density, kg/m³.
speed_of_sound_mps: f64Local speed of sound, m/s.
temperature_k: f64Local temperature, K. For KernelAtmosphere::Uniform it is the dry-air temperature
that gives the caller’s sound speed, c² / (1.4 · 287.0531).
pressure_pa: f64Local pressure, Pa. 0.0 for KernelAtmosphere::Uniform, which does not model it.
Trait Implementations§
impl Copy for LocalAir
impl StructuralPartialEq for LocalAir
Auto Trait Implementations§
impl Freeze for LocalAir
impl RefUnwindSafe for LocalAir
impl Send for LocalAir
impl Sync for LocalAir
impl Unpin for LocalAir
impl UnwindSafe for LocalAir
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.