pub struct SimWarning {
pub t: f64,
pub kind: WarningKind,
}Expand description
Non-fatal diagnostic condition attached to a simulation time step (§8.4).
Fields§
§t: f64Simulation time (s) at which the condition was observed.
kind: WarningKindThe category and details of the non-fatal condition.
Trait Implementations§
Source§impl Clone for SimWarning
impl Clone for SimWarning
Source§fn clone(&self) -> SimWarning
fn clone(&self) -> SimWarning
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 moreAuto Trait Implementations§
impl Freeze for SimWarning
impl RefUnwindSafe for SimWarning
impl Send for SimWarning
impl Sync for SimWarning
impl Unpin for SimWarning
impl UnsafeUnpin for SimWarning
impl UnwindSafe for SimWarning
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