pub struct PlacedStage {
pub id: String,
pub fore_station_m: f64,
pub aft_station_m: f64,
pub mass: MassProperties,
pub center_overridden: bool,
pub drag_override: Option<DragOverride>,
pub hung_on: Option<usize>,
}Expand description
A stage resolved into place.
Fields§
§id: StringThe stage’s id.
fore_station_m: f64Station of its forward end, m.
aft_station_m: f64Station of its aft end, m.
mass: MassPropertiesIts mass properties in body axes, without motors, after its overrides.
center_overridden: boolWhether the stage’s own overrides move its center of mass along the axis (cg_aft_m).
Written before the move to US spelling as centre_overridden, which is still read and never written.
drag_override: Option<DragOverride>The drag coefficient the stage states (Stage::drag_override).
hung_on: Option<usize>For a parallel stage (Stage::parallel), the index of the stage whose body tube it hangs
on; None for a stage on the axis. Its stations are its pods’.
Trait Implementations§
Source§impl Clone for PlacedStage
impl Clone for PlacedStage
Source§fn clone(&self) -> PlacedStage
fn clone(&self) -> PlacedStage
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 PlacedStage
impl Debug for PlacedStage
Source§impl<'de> Deserialize<'de> for PlacedStage
impl<'de> Deserialize<'de> for PlacedStage
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 PlacedStage
impl PartialEq for PlacedStage
Source§fn eq(&self, other: &PlacedStage) -> bool
fn eq(&self, other: &PlacedStage) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PlacedStage
impl Serialize for PlacedStage
impl StructuralPartialEq for PlacedStage
Auto Trait Implementations§
impl Freeze for PlacedStage
impl RefUnwindSafe for PlacedStage
impl Send for PlacedStage
impl Sync for PlacedStage
impl Unpin for PlacedStage
impl UnsafeUnpin for PlacedStage
impl UnwindSafe for PlacedStage
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