pub trait WangLandauEnergy<Energy>: WangLandau {
// Required method
fn energy(&self) -> Option<&Energy>;
}
Expand description
§trait to request the current energy from a WangLandau simulation
None
if the energy was not calculated yet- See also WangLandauEEH
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.