pub struct Parachute {
pub diameter_m: f64,
pub canopy_material: Material,
pub line_count: u32,
pub line_length_m: f64,
pub line_material: Material,
pub packing: Packing,
}Expand description
A parachute, packed.
Fields§
§diameter_m: f64Nominal (flat) canopy diameter, m.
canopy_material: MaterialCanopy fabric (surface).
line_count: u32Number of shroud lines.
line_length_m: f64Length of each shroud line, m.
line_material: MaterialShroud line (line).
packing: PackingHow it is packed.
Implementations§
Source§impl Parachute
impl Parachute
Sourcepub fn mass_kg(&self) -> Result<f64, DesignError>
pub fn mass_kg(&self) -> Result<f64, DesignError>
Sourcepub fn mass_properties(&self) -> Result<MassProperties, DesignError>
pub fn mass_properties(&self) -> Result<MassProperties, DesignError>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Parachute
impl<'de> Deserialize<'de> for Parachute
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 JsonSchema for Parachute
impl JsonSchema for Parachute
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreimpl StructuralPartialEq for Parachute
Auto Trait Implementations§
impl Freeze for Parachute
impl RefUnwindSafe for Parachute
impl Send for Parachute
impl Sync for Parachute
impl Unpin for Parachute
impl UnsafeUnpin for Parachute
impl UnwindSafe for Parachute
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