#[non_exhaustive]pub struct ConeFlow {
pub shock_angle_rad: f64,
pub surface_mach: f64,
pub surface_pressure_ratio: f64,
}Expand description
The flow over a cone at zero angle of attack.
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.shock_angle_rad: f64The conical shock’s angle to the axis, rad.
surface_mach: f64The Mach number on the cone’s surface.
surface_pressure_ratio: f64The surface pressure over the free stream’s, p_c/p₀.
Trait Implementations§
impl Copy for ConeFlow
Source§impl<'de> Deserialize<'de> for ConeFlow
impl<'de> Deserialize<'de> for ConeFlow
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 StructuralPartialEq for ConeFlow
Auto Trait Implementations§
impl Freeze for ConeFlow
impl RefUnwindSafe for ConeFlow
impl Send for ConeFlow
impl Sync for ConeFlow
impl Unpin for ConeFlow
impl UnsafeUnpin for ConeFlow
impl UnwindSafe for ConeFlow
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