pub struct EntropyViolation {
pub description: String,
pub h_before: f64,
pub h_after: f64,
pub delta: f64,
}Expand description
A single violation of the conservation law dH/dt ≤ 0.
Fields§
§description: StringDescription of what changed.
h_before: f64Entropy before the change.
h_after: f64Entropy after the change.
delta: f64Magnitude of increase.
Trait Implementations§
Source§impl Clone for EntropyViolation
impl Clone for EntropyViolation
Source§fn clone(&self) -> EntropyViolation
fn clone(&self) -> EntropyViolation
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 moreSource§impl Debug for EntropyViolation
impl Debug for EntropyViolation
Source§impl<'de> Deserialize<'de> for EntropyViolation
impl<'de> Deserialize<'de> for EntropyViolation
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 EntropyViolation
impl RefUnwindSafe for EntropyViolation
impl Send for EntropyViolation
impl Sync for EntropyViolation
impl Unpin for EntropyViolation
impl UnsafeUnpin for EntropyViolation
impl UnwindSafe for EntropyViolation
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