Docs.rs
time-core-0.1.1
time-core 0.1.1
Docs.rs crate page
MIT OR Apache-2.0
Links
Repository
crates.io
Source
Owners
jhpratt
Dependencies
Versions
20%
of the crate is documented
Go to latest version
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
☰
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 (
Hour
,
Day
)
§
type
Output
=
u8
source
§
const
VALUE
:
u8
= 24u8
source
§
impl
Per
for (
Day
,
Week
)
§
type
Output
=
u8
source
§
const
VALUE
:
u8
= 7u8
source
§
impl
Per
for (
Millisecond
,
Hour
)
§
type
Output
=
u32
source
§
const
VALUE
:
u32
= 3_600_000u32
source
§
impl
Per
for (
Microsecond
,
Second
)
§
type
Output
=
u32
source
§
const
VALUE
:
u32
= 1_000_000u32
source
§
impl
Per
for (
Millisecond
,
Minute
)
§
type
Output
=
u16
source
§
const
VALUE
:
u16
= 60_000u16
source
§
impl
Per
for (
Microsecond
,
Hour
)
§
type
Output
=
u32
source
§
const
VALUE
:
u32
= 3_600_000_000u32
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 (
Nanosecond
,
Hour
)
§
type
Output
=
u64
source
§
const
VALUE
:
u64
= 3_600_000_000_000u64
source
§
impl
Per
for (
Microsecond
,
Millisecond
)
§
type
Output
=
u16
source
§
const
VALUE
:
u16
= 1_000u16
source
§
impl
Per
for (
Nanosecond
,
Day
)
§
type
Output
=
u64
source
§
const
VALUE
:
u64
= 86_400_000_000_000u64
source
§
impl
Per
for (
Second
,
Week
)
§
type
Output
=
u32
source
§
const
VALUE
:
u32
= 604_800u32
source
§
impl
Per
for (
Second
,
Day
)
§
type
Output
=
u32
source
§
const
VALUE
:
u32
= 86_400u32
source
§
impl
Per
for (
Nanosecond
,
Microsecond
)
§
type
Output
=
u16
source
§
const
VALUE
:
u16
= 1_000u16
source
§
impl
Per
for (
Nanosecond
,
Minute
)
§
type
Output
=
u64
source
§
const
VALUE
:
u64
= 60_000_000_000u64
source
§
impl
Per
for (
Millisecond
,
Week
)
§
type
Output
=
u32
source
§
const
VALUE
:
u32
= 604_800_000u32
source
§
impl
Per
for (
Microsecond
,
Week
)
§
type
Output
=
u64
source
§
const
VALUE
:
u64
= 604_800_000_000u64
source
§
impl
Per
for (
Nanosecond
,
Second
)
§
type
Output
=
u32
source
§
const
VALUE
:
u32
= 1_000_000_000u32
source
§
impl
Per
for (
Minute
,
Week
)
§
type
Output
=
u16
source
§
const
VALUE
:
u16
= 10_080u16
source
§
impl
Per
for (
Millisecond
,
Second
)
§
type
Output
=
u16
source
§
const
VALUE
:
u16
= 1_000u16
source
§
impl
Per
for (
Minute
,
Day
)
§
type
Output
=
u16
source
§
const
VALUE
:
u16
= 1_440u16
source
§
impl
Per
for (
Minute
,
Hour
)
§
type
Output
=
u8
source
§
const
VALUE
:
u8
= 60u8
source
§
impl
Per
for (
Second
,
Hour
)
§
type
Output
=
u16
source
§
const
VALUE
:
u16
= 3_600u16
source
§
impl
Per
for (
Second
,
Minute
)
§
type
Output
=
u8
source
§
const
VALUE
:
u8
= 60u8
source
§
impl
Per
for (
Millisecond
,
Day
)
§
type
Output
=
u32
source
§
const
VALUE
:
u32
= 86_400_000u32
source
§
impl
Per
for (
Hour
,
Week
)
§
type
Output
=
u8
source
§
const
VALUE
:
u8
= 168u8
source
§
impl
Per
for (
Nanosecond
,
Millisecond
)
§
type
Output
=
u32
source
§
const
VALUE
:
u32
= 1_000_000u32
source
§
impl
Per
for (
Microsecond
,
Day
)
§
type
Output
=
u64
source
§
const
VALUE
:
u64
= 86_400_000_000u64
Implementors
§