PDDateTimeExt

Trait PDDateTimeExt 

Source
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§

Source

fn to_epoch(&self) -> u32

Source

fn from_epoch(epoch: u32) -> Self

Source

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.

Implementors§