pub trait ValuableDistribution: Distribution + Sized {
// Required method
fn value<T2, F>(
self,
value: F
) -> ValuedDistribution<Self, Self::Value, T2, Self::Condition, F>
where T2: RandomVariable,
F: Fn(&T2) -> Result<Self::Value, DistributionError> + Clone + Send + Sync;
}