#[non_exhaustive]pub enum Parting {
AftOf {
component: String,
},
Payload {
component: String,
},
}Expand description
Where an airframe parts at an Ejection.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
AftOf
At the joint just aft of the body component with this id. Everything aft of the joint, up to the next joint that can part, is a new piece. The part forward of it keeps its number, so an ejected nose cone is the forward side of the joint after the nose.
Payload
Around the internal component with this id: it and everything inside it leave the piece that carries it, as a payload pushed out of a body tube does. It must be inside the airframe, one part (not one copy of a cluster’s), and not inside another payload.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Parting
impl<'de> Deserialize<'de> for Parting
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
impl Eq for Parting
impl StructuralPartialEq for Parting
Auto Trait Implementations§
impl Freeze for Parting
impl RefUnwindSafe for Parting
impl Send for Parting
impl Sync for Parting
impl Unpin for Parting
impl UnsafeUnpin for Parting
impl UnwindSafe for Parting
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