pub struct TrajectoryResult {Show 20 fields
pub muzzle_energy_j: f64,
pub muzzle_energy_ftlbs: f64,
pub target_distance_los_m: f64,
pub target_distance_horiz_m: f64,
pub target_vertical_height_m: f64,
pub time_of_flight_s: f64,
pub drop_m: f64,
pub drop_in: f64,
pub wind_drift_m: f64,
pub wind_drift_in: f64,
pub max_ord_m: f64,
pub max_ord_in: f64,
pub max_ord_dist_horiz_m: f64,
pub final_vel_mps: f64,
pub final_vel_fps: f64,
pub final_energy_j: f64,
pub final_energy_ftlbs: f64,
pub air_density_kg_m3: f64,
pub speed_of_sound_mps: f64,
pub barrel_angle_rad: f64,
}Expand description
Result of trajectory post-processing
Fields§
§muzzle_energy_j: f64§muzzle_energy_ftlbs: f64§target_distance_los_m: f64§target_distance_horiz_m: f64§target_vertical_height_m: f64§time_of_flight_s: f64§drop_m: f64§drop_in: f64§wind_drift_m: f64§wind_drift_in: f64§max_ord_m: f64§max_ord_in: f64§max_ord_dist_horiz_m: f64§final_vel_mps: f64§final_vel_fps: f64§final_energy_j: f64§final_energy_ftlbs: f64§air_density_kg_m3: f64§speed_of_sound_mps: f64§barrel_angle_rad: f64Trait Implementations§
Source§impl Clone for TrajectoryResult
impl Clone for TrajectoryResult
Source§fn clone(&self) -> TrajectoryResult
fn clone(&self) -> TrajectoryResult
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for TrajectoryResult
impl RefUnwindSafe for TrajectoryResult
impl Send for TrajectoryResult
impl Sync for TrajectoryResult
impl Unpin for TrajectoryResult
impl UnwindSafe for TrajectoryResult
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,
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§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 moreSource§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).Source§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.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.