☰
time_core
0.1.1
Per
Required Associated Types
Output
Required Associated Constants
VALUE
Implementations on Foreign Types
(Day, Week)
(Hour, Day)
(Hour, Week)
(Microsecond, Day)
(Microsecond, Hour)
(Microsecond, Millisecond)
(Microsecond, Minute)
(Microsecond, Second)
(Microsecond, Week)
(Millisecond, Day)
(Millisecond, Hour)
(Millisecond, Minute)
(Millisecond, Second)
(Millisecond, Week)
(Minute, Day)
(Minute, Hour)
(Minute, Week)
(Nanosecond, Day)
(Nanosecond, Hour)
(Nanosecond, Microsecond)
(Nanosecond, Millisecond)
(Nanosecond, Minute)
(Nanosecond, Second)
(Nanosecond, Week)
(Second, Day)
(Second, Hour)
(Second, Minute)
(Second, Week)
Implementors
In time_core::convert
?
Trait
time_core
::
convert
::
Per
source
·
[
−
]
pub trait Per: Sealed { type
Output
; const
VALUE
: Self::
Output
; }
Required Associated Types
§
source
type
Output
Required Associated Constants
§
source
const
VALUE
: Self::
Output
Implementations on Foreign Types
§
source
§
impl
Per
for (
Millisecond
,
Second
)
§
type
Output
=
u16
source
§
const
VALUE
:
u16
= 1_000u16
source
§
impl
Per
for (
Nanosecond
,
Second
)
§
type
Output
=
u32
source
§
const
VALUE
:
u32
= 1_000_000_000u32
source
§
impl
Per
for (
Second
,
Day
)
§
type
Output
=
u32
source
§
const
VALUE
:
u32
= 86_400u32
source
§
impl
Per
for (
Millisecond
,
Minute
)
§
type
Output
=
u16
source
§
const
VALUE
:
u16
= 60_000u16
source
§
impl
Per
for (
Millisecond
,
Day
)
§
type
Output
=
u32
source
§
const
VALUE
:
u32
= 86_400_000u32
source
§
impl
Per
for (
Millisecond
,
Hour
)
§
type
Output
=
u32
source
§
const
VALUE
:
u32
= 3_600_000u32
source
§
impl
Per
for (
Minute
,
Week
)
§
type
Output
=
u16
source
§
const
VALUE
:
u16
= 10_080u16
source
§
impl
Per
for (
Nanosecond
,
Minute
)
§
type
Output
=
u64
source
§
const
VALUE
:
u64
= 60_000_000_000u64
source
§
impl
Per
for (
Minute
,
Hour
)
§
type
Output
=
u8
source
§
const
VALUE
:
u8
= 60u8
source
§
impl
Per
for (
Microsecond
,
Hour
)
§
type
Output
=
u32
source
§
const
VALUE
:
u32
= 3_600_000_000u32
source
§
impl
Per
for (
Second
,
Hour
)
§
type
Output
=
u16
source
§
const
VALUE
:
u16
= 3_600u16
source
§
impl
Per
for (
Nanosecond
,
Millisecond
)
§
type
Output
=
u32
source
§
const
VALUE
:
u32
= 1_000_000u32
source
§
impl
Per
for (
Second
,
Minute
)
§
type
Output
=
u8
source
§
const
VALUE
:
u8
= 60u8
source
§
impl
Per
for (
Microsecond
,
Minute
)
§
type
Output
=
u32
source
§
const
VALUE
:
u32
= 60_000_000u32
source
§
impl
Per
for (
Nanosecond
,
Week
)
§
type
Output
=
u64
source
§
const
VALUE
:
u64
= 604_800_000_000_000u64
source
§
impl
Per
for (
Microsecond
,
Millisecond
)
§
type
Output
=
u16
source
§
const
VALUE
:
u16
= 1_000u16
source
§
impl
Per
for (
Millisecond
,
Week
)
§
type
Output
=
u32
source
§
const
VALUE
:
u32
= 604_800_000u32
source
§
impl
Per
for (
Microsecond
,
Day
)
§
type
Output
=
u64
source
§
const
VALUE
:
u64
= 86_400_000_000u64
source
§
impl
Per
for (
Second
,
Week
)
§
type
Output
=
u32
source
§
const
VALUE
:
u32
= 604_800u32
source
§
impl
Per
for (
Microsecond
,
Week
)
§
type
Output
=
u64
source
§
const
VALUE
:
u64
= 604_800_000_000u64
source
§
impl
Per
for (
Hour
,
Week
)
§
type
Output
=
u8
source
§
const
VALUE
:
u8
= 168u8
source
§
impl
Per
for (
Minute
,
Day
)
§
type
Output
=
u16
source
§
const
VALUE
:
u16
= 1_440u16
source
§
impl
Per
for (
Nanosecond
,
Hour
)
§
type
Output
=
u64
source
§
const
VALUE
:
u64
= 3_600_000_000_000u64
source
§
impl
Per
for (
Day
,
Week
)
§
type
Output
=
u8
source
§
const
VALUE
:
u8
= 7u8
source
§
impl
Per
for (
Nanosecond
,
Day
)
§
type
Output
=
u64
source
§
const
VALUE
:
u64
= 86_400_000_000_000u64
source
§
impl
Per
for (
Hour
,
Day
)
§
type
Output
=
u8
source
§
const
VALUE
:
u8
= 24u8
source
§
impl
Per
for (
Microsecond
,
Second
)
§
type
Output
=
u32
source
§
const
VALUE
:
u32
= 1_000_000u32
source
§
impl
Per
for (
Nanosecond
,
Microsecond
)
§
type
Output
=
u16
source
§
const
VALUE
:
u16
= 1_000u16
Implementors
§