devela::phys::time

Type Alias TimeSplitMilliNano

Source
pub type TimeSplitMilliNano<MS, US, NS> = TimeSplit<(), (), (), (), (), (), MS, US, NS>;
Available on crate feature time only.
Expand description

A time split from milliseconds to nanoseconds.

Aliased Type§

struct TimeSplitMilliNano<MS, US, NS> {
    pub y: (),
    pub mo: (),
    pub d: (),
    pub h: (),
    pub m: (),
    pub s: (),
    pub ms: MS,
    pub us: US,
    pub ns: NS,
}

Fields§

§y: ()

Years.

§mo: ()

Months.

§d: ()

Days.

§h: ()

Hours.

§m: ()

Minutes.

§s: ()

Seconds.

§ms: MS

Milliseconds.

§us: US

Microseconds.

§ns: NS

Nanoseconds.

Implementations§

Source§

impl<MS, US, NS> TimeSplitMilliNano<MS, US, NS>

Source

pub const fn new_milli_nano(ms: MS, us: US, ns: NS) -> Self

Returns a new TimeSplitMilliNano.