Skip to main content

TimeDeltaExt

Trait TimeDeltaExt 

Source
pub trait TimeDeltaExt {
    // Required method
    fn nanoseconds_i128(nanoseconds: i128) -> Option<Self>
       where Self: Sized;
}

Required Methods§

Source

fn nanoseconds_i128(nanoseconds: i128) -> Option<Self>
where Self: Sized,

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl TimeDeltaExt for TimeDelta

Source§

fn nanoseconds_i128(nanoseconds: i128) -> Option<Self>
where Self: Sized,

Implementors§