pub struct BallFlight {
pub launch_speed: Velocity,
pub launch_elevation: f64,
pub launch_azimuth: f64,
pub carry_distance: Option<Distance>,
pub total_distance: Option<Distance>,
pub max_height: Option<Distance>,
pub flight_time: Option<f64>,
pub roll_distance: Option<Distance>,
pub backspin_rpm: Option<i32>,
pub sidespin_rpm: Option<i32>,
}Fields§
§launch_speed: Velocity§launch_elevation: f64§launch_azimuth: f64§carry_distance: Option<Distance>§total_distance: Option<Distance>§max_height: Option<Distance>§flight_time: Option<f64>§roll_distance: Option<Distance>§backspin_rpm: Option<i32>§sidespin_rpm: Option<i32>Trait Implementations§
Source§impl Clone for BallFlight
impl Clone for BallFlight
Source§fn clone(&self) -> BallFlight
fn clone(&self) -> BallFlight
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 moreSource§impl Debug for BallFlight
impl Debug for BallFlight
Source§impl<'de> Deserialize<'de> for BallFlight
impl<'de> Deserialize<'de> for BallFlight
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
Auto Trait Implementations§
impl Freeze for BallFlight
impl RefUnwindSafe for BallFlight
impl Send for BallFlight
impl Sync for BallFlight
impl Unpin for BallFlight
impl UnsafeUnpin for BallFlight
impl UnwindSafe for BallFlight
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