pub trait NoiseIncrement:
Clone
+ Send
+ Sync
+ 'static {
// Required method
fn sample<R: Rng>(rng: &mut R, dt: f64) -> Increment<Self>;
}Expand description
Types that can sample a Brownian increment for a given dt.
§Object safety
This trait is not object-safe because sample is generic over R: Rng.
All uses are monomorphic — dyn NoiseIncrement will not compile.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".