pub struct SimulationArgs {
pub time_start: Option<f64>,
pub time_end: Option<f64>,
pub time_step: Option<f64>,
}Expand description
The struct representing the global simulation settings, which includes the time range and simulation delta time.
Fields§
§time_start: Option<f64>TODO document
time_end: Option<f64>TODO document
time_step: Option<f64>TODO document
Trait Implementations§
Source§impl Clone for SimulationArgs
impl Clone for SimulationArgs
Source§fn clone(&self) -> SimulationArgs
fn clone(&self) -> SimulationArgs
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 SimulationArgs
impl Debug for SimulationArgs
Source§impl Default for SimulationArgs
impl Default for SimulationArgs
Source§fn default() -> SimulationArgs
fn default() -> SimulationArgs
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SimulationArgs
impl<'de> Deserialize<'de> for SimulationArgs
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
Auto Trait Implementations§
impl Freeze for SimulationArgs
impl RefUnwindSafe for SimulationArgs
impl Send for SimulationArgs
impl Sync for SimulationArgs
impl Unpin for SimulationArgs
impl UnwindSafe for SimulationArgs
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