pub struct DescentDevice {
pub name: String,
pub cd_s_m2: f64,
pub lag_s: f64,
pub height_above_ground_m: Option<f64>,
}Expand description
One device as the reference declares it.
Fields§
§name: StringIts name, for reports.
cd_s_m2: f64Its drag area C_D S, m2.
lag_s: f64Its lag from the trigger to line stretch, s.
height_above_ground_m: Option<f64>The height above the site it opens at, m; None opens it at the start.
Trait Implementations§
Source§impl Clone for DescentDevice
impl Clone for DescentDevice
Source§fn clone(&self) -> DescentDevice
fn clone(&self) -> DescentDevice
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DescentDevice
impl Debug for DescentDevice
Source§impl<'de> Deserialize<'de> for DescentDevice
impl<'de> Deserialize<'de> for DescentDevice
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
Source§impl PartialEq for DescentDevice
impl PartialEq for DescentDevice
Source§fn eq(&self, other: &DescentDevice) -> bool
fn eq(&self, other: &DescentDevice) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DescentDevice
impl Serialize for DescentDevice
impl StructuralPartialEq for DescentDevice
Auto Trait Implementations§
impl Freeze for DescentDevice
impl RefUnwindSafe for DescentDevice
impl Send for DescentDevice
impl Sync for DescentDevice
impl Unpin for DescentDevice
impl UnsafeUnpin for DescentDevice
impl UnwindSafe for DescentDevice
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