pub struct FlightSettings {
pub method: Method,
pub max_time_s: f64,
pub step_limit: u64,
pub accept_design_errors: bool,
}Expand description
How a flight is integrated and when it gives up.
Fields§
§method: MethodThe integration method and tolerances.
max_time_s: f64The flight stops with Termination::TimeCap at this time after launch, s.
step_limit: u64The flight stops with Termination::StepLimit after this many attempted steps.
accept_design_errors: boolFly a design whose checks report errors.
Trait Implementations§
Source§impl Clone for FlightSettings
impl Clone for FlightSettings
Source§fn clone(&self) -> FlightSettings
fn clone(&self) -> FlightSettings
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 FlightSettings
Source§impl Debug for FlightSettings
impl Debug for FlightSettings
Source§impl Default for FlightSettings
impl Default for FlightSettings
Source§impl<'de> Deserialize<'de> for FlightSettingswhere
FlightSettings: Default,
impl<'de> Deserialize<'de> for FlightSettingswhere
FlightSettings: Default,
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 FlightSettings
impl PartialEq for FlightSettings
Source§fn eq(&self, other: &FlightSettings) -> bool
fn eq(&self, other: &FlightSettings) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for FlightSettings
impl Serialize for FlightSettings
impl StructuralPartialEq for FlightSettings
Auto Trait Implementations§
impl Freeze for FlightSettings
impl RefUnwindSafe for FlightSettings
impl Send for FlightSettings
impl Sync for FlightSettings
impl Unpin for FlightSettings
impl UnsafeUnpin for FlightSettings
impl UnwindSafe for FlightSettings
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