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