Skip to main content

CanopyType

Enum CanopyType 

Source
#[non_exhaustive]
pub enum CanopyType {
Show 13 variants FlatCircular, Conical, Biconical, Triconical, ExtendedSkirt10Flat, ExtendedSkirt14Full, Hemispherical, Annular, Cross, FlatRibbon, ConicalRibbon, Ringslot, Ringsail,
}
Expand description

A canopy type with printed data in Knacke’s tables.

Solid textile canopies come from Table 5-1 (printed page 5-3), slotted ones from Table 5-2 (5-4).

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.
§

FlatCircular

Flat circular (solid textile).

§

Conical

Conical (solid textile).

§

Biconical

Biconical (solid textile).

§

Triconical

Triconical or polyconical (solid textile).

§

ExtendedSkirt10Flat

Extended skirt, 10% flat (solid textile).

§

ExtendedSkirt14Full

Extended skirt, 14.3% full (solid textile).

§

Hemispherical

Hemispherical (solid textile).

§

Annular

Annular (solid textile).

§

Cross

Cross, or cruciform (solid textile).

§

FlatRibbon

Flat (FIST) ribbon (slotted).

§

ConicalRibbon

Conical ribbon (slotted).

§

Ringslot

Ringslot (slotted).

§

Ringsail

Ringsail (slotted).

Implementations§

Source§

impl CanopyType

Source

pub const fn drag_coefficient_range(self) -> (f64, f64)

Knacke’s printed range of C_D0, the drag coefficient on the nominal area S₀ (Tables 5-1 and 5-2, printed pages 5-3 and 5-4).

Source

pub const fn drag_coefficient(self) -> f64

The middle of Self::drag_coefficient_range, which is what hpr uses when the user gives no C_D0. Knacke prints a range for every type and no single value; the middle is hpr’s choice, not his (the decision record on recovery, ADR-012).

Source

pub const fn fill_constant(self) -> Option<f64>

The canopy fill constant n of t_f = n D₀/v (Table 5-6, printed page 5-44, unreefed column), where Knacke prints one. None where the table has no unreefed value for the type, which for five of these is because it has no row there at all.

Knacke’s rows cover types, not every variant: the ribbon row serves both ribbon entries. (The ringsail row prints 7 unreefed; its 7 to 8 is the reefed column.)

Source

pub const fn growth_exponent(self) -> Option<f64>

The drag-area growth exponent j of (C_D S)(t) = (C_D S)₀ (t/t_f)^j, for the types Pflanz’s method names (Figure 5-51, printed page 5-59): j = 2 for solid cloth (flat circular, conical, extended skirt, triconical) and j = 1 for ribbon and ringslot. None for the types he doesn’t name, which need a measured exponent.

Source

pub const fn opening_force_coefficient(self) -> f64

The infinite-mass opening-force coefficient C_x = F_x/F_c (Tables 5-1 and 5-2; the cross canopy’s printed 1.1 to 1.2 is taken at its middle). hpr reports it; it is not used in the equations, which integrate the opening force instead.

Source

pub const fn source(self) -> &'static str

Where the numbers come from, for reports.

Trait Implementations§

Source§

impl Clone for CanopyType

Source§

fn clone(&self) -> CanopyType

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for CanopyType

Source§

impl Debug for CanopyType

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for CanopyType

Source§

fn deserialize<__D>( __deserializer: __D, ) -> Result<CanopyType, <__D as Deserializer<'de>>::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Eq for CanopyType

Source§

impl Hash for CanopyType

Source§

fn hash<__H>(&self, state: &mut __H)
where __H: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl PartialEq for CanopyType

Source§

fn eq(&self, other: &CanopyType) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Serialize for CanopyType

Source§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for CanopyType

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
where ST: ?Sized, DT: ?Sized,

§

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

impl<T> DynClone for T
where T: Clone,

Source§

fn __clone_box(&self, _: Private) -> *mut ()

§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
§

impl<T> Pointable for T

§

const ALIGN: usize

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
§

impl<T> Read<Exclusive, BecauseExclusive> for T
where T: ?Sized,

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.