pub trait RandomBoundedTransition: TimedTransition {
// Required methods
fn lower_bound(&self) -> Option<Duration>;
fn upper_bound(&self) -> Option<Duration>;
}Expand description
The duration for this transition is calculated as a random value between the lower and upper bounds (inclusive).
Required Methods§
fn lower_bound(&self) -> Option<Duration>
fn upper_bound(&self) -> Option<Duration>
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.