pub trait Probability { // Required method fn prob(&self) -> f64; }
Returns non-negative probability of occurance.
Probability must be within range of 0 to 1.