pub trait ProbabilisticType:
IntoSampledValue
+ FromSampledValue
+ Clone
+ Send
+ Sync
+ 'static {
// Required method
fn default_value() -> Self;
}Required Methods§
Sourcefn default_value() -> Self
fn default_value() -> Self
Provides a default or zero-equivalent value for the type.
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.