pub struct InertiaOverride {
pub xx_kg_m2: f64,
pub yy_kg_m2: f64,
pub zz_kg_m2: f64,
pub xy_kg_m2: f64,
pub xz_kg_m2: f64,
pub yz_kg_m2: f64,
}Expand description
An inertia tensor about the center of mass in body axes, kg·m². The off-diagonal entries are
the tensor’s, I_xy = −∫ x y dm (crate::mass); they default to zero.
Fields§
§xx_kg_m2: f64I_xx, kg·m².
yy_kg_m2: f64I_yy, kg·m².
zz_kg_m2: f64I_zz, about the rocket’s axis, kg·m².
xy_kg_m2: f64I_xy, kg·m².
xz_kg_m2: f64I_xz, kg·m².
yz_kg_m2: f64I_yz, kg·m².
Implementations§
Trait Implementations§
Source§impl Clone for InertiaOverride
impl Clone for InertiaOverride
Source§fn clone(&self) -> InertiaOverride
fn clone(&self) -> InertiaOverride
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 InertiaOverride
Source§impl Debug for InertiaOverride
impl Debug for InertiaOverride
Source§impl<'de> Deserialize<'de> for InertiaOverride
impl<'de> Deserialize<'de> for InertiaOverride
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 InertiaOverride
impl JsonSchema for InertiaOverride
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 moreSource§impl PartialEq for InertiaOverride
impl PartialEq for InertiaOverride
Source§fn eq(&self, other: &InertiaOverride) -> bool
fn eq(&self, other: &InertiaOverride) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for InertiaOverride
impl Serialize for InertiaOverride
impl StructuralPartialEq for InertiaOverride
Auto Trait Implementations§
impl Freeze for InertiaOverride
impl RefUnwindSafe for InertiaOverride
impl Send for InertiaOverride
impl Sync for InertiaOverride
impl Unpin for InertiaOverride
impl UnsafeUnpin for InertiaOverride
impl UnwindSafe for InertiaOverride
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