pub trait Delta {
// Required method
fn delta(&self, other: Self) -> u64;
}
Expand description
Trait for types that represent time and can be subtracted from each other to generate a delta.
Required Methods§
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.