pub struct MountedMotor {
pub mount: String,
pub designation: String,
pub diameter_m: f64,
pub length_m: f64,
pub motor: SolidMotor,
pub delay: Option<Delay>,
pub ignition: Ignition,
pub failed_tubes: Vec<usize>,
}Expand description
A motor in a mount.
Fields§
§mount: StringThe id of the mount component.
designation: StringDesignation, for display.
diameter_m: f64Case outer diameter, m.
length_m: f64Case length, m.
motor: SolidMotorThe motor.
delay: Option<Delay>The ejection delay chosen, if any.
ignition: IgnitionWhen it lights.
failed_tubes: Vec<usize>The tubes whose motor fails to light, by index into the mount’s tubes (a cluster’s in the
order of InnerTube::cluster_m, 0 for a single tube; a
cluster inside another cluster counts the outer copies first, each with all its tubes; a
mount in a pod counts the pods, in the order of PodSet::pods): a
motor out. Each is carried loaded and gives no thrust. An ignition on the mount’s burnout
takes its first motor that lights, but a recovery device or separation triggered by one
motor’s index waits on that motor alone: point it at a tube that lights, or it never fires.
Empty (the default) when every motor lights.
Trait Implementations§
Source§impl Clone for MountedMotor
impl Clone for MountedMotor
Source§fn clone(&self) -> MountedMotor
fn clone(&self) -> MountedMotor
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for MountedMotor
impl Debug for MountedMotor
Source§impl<'de> Deserialize<'de> for MountedMotor
impl<'de> Deserialize<'de> for MountedMotor
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>,
Source§impl JsonSchema for MountedMotor
impl JsonSchema for MountedMotor
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read moreSource§impl PartialEq for MountedMotor
impl PartialEq for MountedMotor
Source§fn eq(&self, other: &MountedMotor) -> bool
fn eq(&self, other: &MountedMotor) -> bool
self and other values to be equal, and is used by ==.