pub trait TimeValueLike {
// Required methods
fn from_time_value(tv: TimeValue) -> Self;
fn to_time_value(self) -> TimeValue;
}Expand description
A helper trait for converting from and to TimeValue.
Required Methods§
Sourcefn from_time_value(tv: TimeValue) -> Self
fn from_time_value(tv: TimeValue) -> Self
Converts from TimeValue.
Sourcefn to_time_value(self) -> TimeValue
fn to_time_value(self) -> TimeValue
Converts to TimeValue.
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.