pub struct UnitAircraftAll {Show 16 fields
pub wing_drag: f32,
pub wing_angle: f32,
pub front_to_speed: f32,
pub speed_to_front: f32,
pub gravity: f32,
pub max_bank: f32,
pub max_pitch: f32,
pub turn_radius: f32,
pub wanted_height: f32,
pub vertical_speed: f32,
pub max_acceleration: f32,
pub max_deceleration: f32,
pub max_aileron: f32,
pub max_elevator: f32,
pub max_rudder: f32,
pub dl_hover_factor: f32,
}
Fields§
§wing_drag: f32
§wing_angle: f32
§front_to_speed: f32
§speed_to_front: f32
§gravity: f32
§max_bank: f32
§max_pitch: f32
§turn_radius: f32
§wanted_height: f32
§vertical_speed: f32
§max_acceleration: f32
§max_deceleration: f32
§max_aileron: f32
§max_elevator: f32
§max_rudder: f32
§dl_hover_factor: f32
Trait Implementations§
Source§impl Clone for UnitAircraftAll
impl Clone for UnitAircraftAll
Source§fn clone(&self) -> UnitAircraftAll
fn clone(&self) -> UnitAircraftAll
Returns a duplicate of the value. Read more
1.0.0 · 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 UnitAircraftAll
impl Debug for UnitAircraftAll
Source§impl<'de> Deserialize<'de> for UnitAircraftAll
impl<'de> Deserialize<'de> for UnitAircraftAll
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 Serialize for UnitAircraftAll
impl Serialize for UnitAircraftAll
impl Copy for UnitAircraftAll
Auto Trait Implementations§
impl Freeze for UnitAircraftAll
impl RefUnwindSafe for UnitAircraftAll
impl Send for UnitAircraftAll
impl Sync for UnitAircraftAll
impl Unpin for UnitAircraftAll
impl UnwindSafe for UnitAircraftAll
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
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 moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
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 moreSource§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self
from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self
is actually part of its subset T
(and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset
but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self
to the equivalent element of its superset.