Trait time_core::convert::Per

source ·
pub trait Per: Sealed {
    type Output;

    const VALUE: Self::Output;
}

Required Associated Types§

Required Associated Constants§

source

const VALUE: Self::Output

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl Per for (Day, Week)

source§

type Output = u8

source§

const VALUE: u8 = 7u8

source§

impl Per for (Hour, Day)

source§

type Output = u8

source§

const VALUE: u8 = 24u8

source§

impl Per for (Hour, Week)

source§

type Output = u8

source§

const VALUE: u8 = 168u8

source§

impl Per for (Microsecond, Day)

source§

type Output = u64

source§

const VALUE: u64 = 86_400_000_000u64

source§

impl Per for (Microsecond, Hour)

source§

type Output = u32

source§

const VALUE: u32 = 3_600_000_000u32

source§

impl Per for (Microsecond, Millisecond)

source§

type Output = u16

source§

const VALUE: u16 = 1_000u16

source§

impl Per for (Microsecond, Minute)

source§

type Output = u32

source§

const VALUE: u32 = 60_000_000u32

source§

impl Per for (Microsecond, Second)

source§

type Output = u32

source§

const VALUE: u32 = 1_000_000u32

source§

impl Per for (Microsecond, Week)

source§

type Output = u64

source§

const VALUE: u64 = 604_800_000_000u64

source§

impl Per for (Millisecond, Day)

source§

type Output = u32

source§

const VALUE: u32 = 86_400_000u32

source§

impl Per for (Millisecond, Hour)

source§

type Output = u32

source§

const VALUE: u32 = 3_600_000u32

source§

impl Per for (Millisecond, Minute)

source§

type Output = u16

source§

const VALUE: u16 = 60_000u16

source§

impl Per for (Millisecond, Second)

source§

type Output = u16

source§

const VALUE: u16 = 1_000u16

source§

impl Per for (Millisecond, Week)

source§

type Output = u32

source§

const VALUE: u32 = 604_800_000u32

source§

impl Per for (Minute, Day)

source§

type Output = u16

source§

const VALUE: u16 = 1_440u16

source§

impl Per for (Minute, Hour)

source§

type Output = u8

source§

const VALUE: u8 = 60u8

source§

impl Per for (Minute, Week)

source§

type Output = u16

source§

const VALUE: u16 = 10_080u16

source§

impl Per for (Nanosecond, Day)

source§

type Output = u64

source§

const VALUE: u64 = 86_400_000_000_000u64

source§

impl Per for (Nanosecond, Hour)

source§

type Output = u64

source§

const VALUE: u64 = 3_600_000_000_000u64

source§

impl Per for (Nanosecond, Microsecond)

source§

type Output = u16

source§

const VALUE: u16 = 1_000u16

source§

impl Per for (Nanosecond, Millisecond)

source§

type Output = u32

source§

const VALUE: u32 = 1_000_000u32

source§

impl Per for (Nanosecond, Minute)

source§

type Output = u64

source§

const VALUE: u64 = 60_000_000_000u64

source§

impl Per for (Nanosecond, Second)

source§

type Output = u32

source§

const VALUE: u32 = 1_000_000_000u32

source§

impl Per for (Nanosecond, Week)

source§

type Output = u64

source§

const VALUE: u64 = 604_800_000_000_000u64

source§

impl Per for (Second, Day)

source§

type Output = u32

source§

const VALUE: u32 = 86_400u32

source§

impl Per for (Second, Hour)

source§

type Output = u16

source§

const VALUE: u16 = 3_600u16

source§

impl Per for (Second, Minute)

source§

type Output = u8

source§

const VALUE: u8 = 60u8

source§

impl Per for (Second, Week)

source§

type Output = u32

source§

const VALUE: u32 = 604_800u32

Implementors§