pub struct ConservationCheck {
pub law_name: String,
pub initial_value: f64,
pub current_value: f64,
pub absolute_error: f64,
pub relative_error: f64,
pub violated: bool,
}Expand description
Conservation check result.
Fields§
§law_name: String§initial_value: f64§current_value: f64§absolute_error: f64§relative_error: f64§violated: boolTrait Implementations§
Source§impl Clone for ConservationCheck
impl Clone for ConservationCheck
Source§fn clone(&self) -> ConservationCheck
fn clone(&self) -> ConservationCheck
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 moreAuto Trait Implementations§
impl Freeze for ConservationCheck
impl RefUnwindSafe for ConservationCheck
impl Send for ConservationCheck
impl Sync for ConservationCheck
impl Unpin for ConservationCheck
impl UnsafeUnpin for ConservationCheck
impl UnwindSafe for ConservationCheck
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