#[non_exhaustive]pub enum TableReference {
Rocket,
LargestBody,
Diameter {
diameter_m: f64,
},
}Expand description
The area a NormalForceTable’s coefficients are on. crate::AeroModel::normal_force
rescales them to the rocket’s reference area.
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.
Rocket
The rocket’s own reference area.
LargestBody
The largest cross-section of the rocket’s bodies, as RASAero II’s (RASAero II Users Manual, 2019, p. 72).
Diameter
A circle of this diameter.
Trait Implementations§
Source§impl Clone for TableReference
impl Clone for TableReference
Source§fn clone(&self) -> TableReference
fn clone(&self) -> TableReference
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 moreimpl Copy for TableReference
Source§impl Debug for TableReference
impl Debug for TableReference
Source§impl Default for TableReference
impl Default for TableReference
Source§fn default() -> TableReference
fn default() -> TableReference
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TableReference
impl<'de> Deserialize<'de> for TableReference
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 TableReference
impl PartialEq for TableReference
Source§fn eq(&self, other: &TableReference) -> bool
fn eq(&self, other: &TableReference) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TableReference
impl Serialize for TableReference
impl StructuralPartialEq for TableReference
Auto Trait Implementations§
impl Freeze for TableReference
impl RefUnwindSafe for TableReference
impl Send for TableReference
impl Sync for TableReference
impl Unpin for TableReference
impl UnsafeUnpin for TableReference
impl UnwindSafe for TableReference
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