pub trait DecayProvider {
// Required method
fn decay_constant(&self, nucid: u32) -> Option<f64>;
}Expand description
Source of per-nuclide decay constants λ in inverse seconds.
Like MassProvider, injected as a trait so analytics never hard-depend
on decay data availability.
Required Methods§
Sourcefn decay_constant(&self, nucid: u32) -> Option<f64>
fn decay_constant(&self, nucid: u32) -> Option<f64>
Decay constant of the nuclide identified by raw nucid, or None
if unknown (stable nuclides included).
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".