Trait bern_units::time::ExtMilliSecond
source · [−]pub trait ExtMilliSecond {
fn ms(self) -> MilliSecond;
fn s(self) -> Second;
fn min(self) -> Minute;
fn h(self) -> Hour;
fn d(self) -> Day;
}
Expand description
Extension trait that adds convenience methods to the u32
and u64
type