pub trait Standard:
Debug
+ Sized
+ Clone {
// Required methods
fn abbrev() -> &'static str;
fn tt_offset() -> Duration;
fn tt_scale() -> Option<f64>;
}Expand description
A standard of time
Required Methods§
Sourcefn abbrev() -> &'static str
fn abbrev() -> &'static str
Short capital-letter abbreviation for the time standard (usually 2 or 3 letters)
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.