pub enum SimulatorType {
TimeBased,
EventBased,
Hybrid,
}Expand description
The three types of simulators. With Hybrid being the default.
TimeBased: start at time 0, return the next step time after each step, and produce data valid for ([t_{now}, t_{next})).EventBased: start whenever their first event is scheduled, step at event times, can schedule their own events, and produce output valid at specific times.Hybrid: a mix of the two. Also starts at time 0.
Variants§
Trait Implementations§
Source§impl Clone for SimulatorType
impl Clone for SimulatorType
Source§fn clone(&self) -> SimulatorType
fn clone(&self) -> SimulatorType
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 SimulatorType
impl Debug for SimulatorType
Source§impl Default for SimulatorType
impl Default for SimulatorType
Source§fn default() -> SimulatorType
fn default() -> SimulatorType
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SimulatorType
impl<'de> Deserialize<'de> for SimulatorType
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 SimulatorType
impl PartialEq for SimulatorType
Source§impl Serialize for SimulatorType
impl Serialize for SimulatorType
impl StructuralPartialEq for SimulatorType
Auto Trait Implementations§
impl Freeze for SimulatorType
impl RefUnwindSafe for SimulatorType
impl Send for SimulatorType
impl Sync for SimulatorType
impl Unpin for SimulatorType
impl UnwindSafe for SimulatorType
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