#[repr(C)]pub struct FFIBallisticInputs {Show 25 fields
pub muzzle_velocity: c_double,
pub muzzle_angle: c_double,
pub bc_value: c_double,
pub bullet_mass: c_double,
pub bullet_diameter: c_double,
pub bc_type: c_int,
pub sight_height: c_double,
pub target_distance: c_double,
pub temperature: c_double,
pub twist_rate: c_double,
pub is_twist_right: c_int,
pub shooting_angle: c_double,
pub altitude: c_double,
pub latitude: c_double,
pub azimuth_angle: c_double,
pub use_rk4: c_int,
pub use_adaptive_rk45: c_int,
pub enable_wind_shear: c_int,
pub enable_trajectory_sampling: c_int,
pub sample_interval: c_double,
pub enable_pitch_damping: c_int,
pub enable_precession_nutation: c_int,
pub enable_spin_drift: c_int,
pub enable_magnus: c_int,
pub enable_coriolis: c_int,
}Fields§
§muzzle_velocity: c_double§muzzle_angle: c_double§bc_value: c_double§bullet_mass: c_double§bullet_diameter: c_double§bc_type: c_int§sight_height: c_double§target_distance: c_double§temperature: c_double§twist_rate: c_double§is_twist_right: c_int§shooting_angle: c_double§altitude: c_double§latitude: c_double§azimuth_angle: c_double§use_rk4: c_int§use_adaptive_rk45: c_int§enable_wind_shear: c_int§enable_trajectory_sampling: c_int§sample_interval: c_double§enable_pitch_damping: c_int§enable_precession_nutation: c_int§enable_spin_drift: c_int§enable_magnus: c_int§enable_coriolis: c_intAuto Trait Implementations§
impl Freeze for FFIBallisticInputs
impl RefUnwindSafe for FFIBallisticInputs
impl Send for FFIBallisticInputs
impl Sync for FFIBallisticInputs
impl Unpin for FFIBallisticInputs
impl UnwindSafe for FFIBallisticInputs
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<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.