pub trait PDDateTimeExt {
// Required methods
fn to_epoch(&self) -> u32;
fn from_epoch(epoch: u32) -> Self;
fn from_epoch_to(dt: &mut Self, epoch: u32);
}Required Methods§
fn to_epoch(&self) -> u32
fn from_epoch(epoch: u32) -> Self
fn from_epoch_to(dt: &mut Self, epoch: u32)
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.