pub type TimeSplitHourNano<H, M, S, MS, US, NS> = TimeSplit<(), (), (), H, M, S, MS, US, NS>;
Available on crate feature
time
only.Expand description
A time split from hours to nanoseconds.
Aliased Type§
struct TimeSplitHourNano<H, M, S, MS, US, NS> {
pub y: (),
pub mo: (),
pub d: (),
pub h: H,
pub m: M,
pub s: S,
pub ms: MS,
pub us: US,
pub ns: NS,
}
Fields§
§y: ()
Years.
mo: ()
Months.
d: ()
Days.
h: H
Hours.
m: M
Minutes.
s: S
Seconds.
ms: MS
Milliseconds.
us: US
Microseconds.
ns: NS
Nanoseconds.
Implementations§
Source§impl<H, M, S, MS, US, NS> TimeSplitHourNano<H, M, S, MS, US, NS>
impl<H, M, S, MS, US, NS> TimeSplitHourNano<H, M, S, MS, US, NS>
Sourcepub const fn new_hour_nano(h: H, m: M, s: S, ms: MS, us: US, ns: NS) -> Self
pub const fn new_hour_nano(h: H, m: M, s: S, ms: MS, us: US, ns: NS) -> Self
Returns a new TimeSplitHourNano
.