#[non_exhaustive]pub struct ComponentDrag {
pub id: String,
pub drag: Drag,
}Expand description
One component’s share of the drag buildup, at zero lift.
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.id: StringThe component’s id.
drag: DragIts drag. A step in radius belongs to the component aft of it, and the base to the last
body component; but a step down just behind a part whose drag is stated goes with that
part, whose aft face it is (ComponentDragTerms::fore_step_down_area_ratio). A stage’s
stated drag is listed under the stage’s id.
Trait Implementations§
Source§impl Clone for ComponentDrag
impl Clone for ComponentDrag
Source§fn clone(&self) -> ComponentDrag
fn clone(&self) -> ComponentDrag
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 moreSource§impl Debug for ComponentDrag
impl Debug for ComponentDrag
Source§impl<'de> Deserialize<'de> for ComponentDrag
impl<'de> Deserialize<'de> for ComponentDrag
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 ComponentDrag
impl PartialEq for ComponentDrag
Source§fn eq(&self, other: &ComponentDrag) -> bool
fn eq(&self, other: &ComponentDrag) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ComponentDrag
impl Serialize for ComponentDrag
impl StructuralPartialEq for ComponentDrag
Auto Trait Implementations§
impl Freeze for ComponentDrag
impl RefUnwindSafe for ComponentDrag
impl Send for ComponentDrag
impl Sync for ComponentDrag
impl Unpin for ComponentDrag
impl UnsafeUnpin for ComponentDrag
impl UnwindSafe for ComponentDrag
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