pub trait TimeDiff:
Default
+ PartialEq
+ PartialOrd
+ Clone
+ Copy {
// Required methods
fn as_f32(self) -> f32;
fn add(self, other: Self) -> Self;
fn sub(self, other: Self) -> Self;
fn scale(self, scale: f32) -> Self;
}Expand description
Positive time difference
Required Methods§
Object Safety§
This trait is not object safe.