pub struct CSDoStepResult {
pub event_handling_needed: bool,
pub terminate_simulation: bool,
pub early_return: bool,
pub last_successful_time: f64,
}Expand description
Result payload for a Co-Simulation do_step implementation.
Fields§
§event_handling_needed: bool§terminate_simulation: bool§early_return: bool§last_successful_time: f64Implementations§
Trait Implementations§
Source§impl Clone for CSDoStepResult
impl Clone for CSDoStepResult
Source§fn clone(&self) -> CSDoStepResult
fn clone(&self) -> CSDoStepResult
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 CSDoStepResult
impl Debug for CSDoStepResult
Source§impl Default for CSDoStepResult
impl Default for CSDoStepResult
Source§fn default() -> CSDoStepResult
fn default() -> CSDoStepResult
Returns the “default value” for a type. Read more
impl Copy for CSDoStepResult
Auto Trait Implementations§
impl Freeze for CSDoStepResult
impl RefUnwindSafe for CSDoStepResult
impl Send for CSDoStepResult
impl Sync for CSDoStepResult
impl Unpin for CSDoStepResult
impl UnwindSafe for CSDoStepResult
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> InitializeFromStart<T> for T
impl<T> InitializeFromStart<T> for T
fn set_from_start(&mut self, value: T)
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 more