#[non_exhaustive]pub struct Staging {
pub after_stage: usize,
pub trigger: StagingTrigger,
pub time_s: f64,
pub drops_burning: bool,
}Expand description
A separation a configuration flies: where the stack comes apart and when. It is powered when
the part ahead of it has a motor burning or still to light then (the flight’s test,
hpr_sim::Separation::powered_at), and otherwise the configuration’s only separation.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.after_stage: usizeThe last stage that stays with the nose; the stages after it drop away.
trigger: StagingTriggerWhen.
time_s: f64When that is, s after launch: known before the flight.
drops_burning: boolWhether it drops motors of its own stage still burning, as OpenRocket’s first burnout of a
stage drops the stage’s other motors (the decision record on a stage’s first burnout,
ADR-172): only a split at the stage’s own burnout under power does. The flight
leaves their thrust out of the dropped part’s flight as a point.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Staging
impl<'de> Deserialize<'de> for Staging
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 Staging
impl JsonSchema for Staging
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 Staging
Auto Trait Implementations§
impl Freeze for Staging
impl RefUnwindSafe for Staging
impl Send for Staging
impl Sync for Staging
impl Unpin for Staging
impl UnsafeUnpin for Staging
impl UnwindSafe for Staging
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