#[non_exhaustive]pub struct SegmentSlope {
pub slope_per_rad: f64,
pub moment_slope_m: f64,
}Expand description
One segment’s share of the body’s normal-force slope at α → 0
(ShockExpansionBody::segment_slopes).
A share can be negative or zero (a boattail’s, TN 3527 footnote 8, p. 12), so moment_slope_m / slope_per_rad need not lie within its segment and is unbounded where a share crosses zero:
carry the moment, not a station.
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.slope_per_rad: f64The segment’s C_Nα, per radian, on the reference area given.
moment_slope_m: f64That slope’s moment about the vertex, C_Nα · x̄, m per radian (x̄ aft of the vertex).
Trait Implementations§
Source§impl Clone for SegmentSlope
impl Clone for SegmentSlope
Source§fn clone(&self) -> SegmentSlope
fn clone(&self) -> SegmentSlope
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 SegmentSlope
Source§impl Debug for SegmentSlope
impl Debug for SegmentSlope
Source§impl Default for SegmentSlope
impl Default for SegmentSlope
Source§fn default() -> SegmentSlope
fn default() -> SegmentSlope
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SegmentSlope
impl<'de> Deserialize<'de> for SegmentSlope
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 SegmentSlope
impl PartialEq for SegmentSlope
Source§fn eq(&self, other: &SegmentSlope) -> bool
fn eq(&self, other: &SegmentSlope) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SegmentSlope
impl Serialize for SegmentSlope
impl StructuralPartialEq for SegmentSlope
Auto Trait Implementations§
impl Freeze for SegmentSlope
impl RefUnwindSafe for SegmentSlope
impl Send for SegmentSlope
impl Sync for SegmentSlope
impl Unpin for SegmentSlope
impl UnsafeUnpin for SegmentSlope
impl UnwindSafe for SegmentSlope
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