blob: b6b6ebc7c846b7d19673f23bdf6719adc56ba331 [file] [log] [blame]
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `Per` trait in crate `time_core`."><meta name="keywords" content="rust, rustlang, rust-lang, Per"><title>Per in time_core::convert - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceSerif4-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../FiraSans-Regular.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../FiraSans-Medium.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceCodePro-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceSerif4-Bold.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceCodePro-Semibold.ttf.woff2"><link rel="stylesheet" href="../../normalize.css"><link rel="stylesheet" href="../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" href="../../ayu.css" disabled><link rel="stylesheet" href="../../dark.css" disabled><link rel="stylesheet" href="../../light.css" id="themeStyle"><script id="default-settings" ></script><script src="../../storage.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../main.js"></script><noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="icon" href="https://avatars0.githubusercontent.com/u/55999857"></head><body class="rustdoc trait"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button><a class="sidebar-logo" href="../../time_core/index.html"><div class="logo-container"><img src="https://avatars0.githubusercontent.com/u/55999857" alt="logo"></div></a><h2></h2></nav><nav class="sidebar"><a class="sidebar-logo" href="../../time_core/index.html"><div class="logo-container">
<img src="https://avatars0.githubusercontent.com/u/55999857" alt="logo"></div></a><h2 class="location"><a href="#">Per</a></h2><div class="sidebar-elems"><section><h3><a href="#required-associated-types">Required Associated Types</a></h3><ul class="block"><li><a href="#associatedtype.Output">Output</a></li></ul><h3><a href="#required-associated-consts">Required Associated Constants</a></h3><ul class="block"><li><a href="#associatedconstant.VALUE">VALUE</a></li></ul><h3><a href="#foreign-impls">Implementations on Foreign Types</a></h3><ul class="block"><li><a href="#impl-Per-for-(Day%2C%20Week)">(Day, Week)</a></li><li><a href="#impl-Per-for-(Hour%2C%20Day)">(Hour, Day)</a></li><li><a href="#impl-Per-for-(Hour%2C%20Week)">(Hour, Week)</a></li><li><a href="#impl-Per-for-(Microsecond%2C%20Day)">(Microsecond, Day)</a></li><li><a href="#impl-Per-for-(Microsecond%2C%20Hour)">(Microsecond, Hour)</a></li><li><a href="#impl-Per-for-(Microsecond%2C%20Millisecond)">(Microsecond, Millisecond)</a></li><li><a href="#impl-Per-for-(Microsecond%2C%20Minute)">(Microsecond, Minute)</a></li><li><a href="#impl-Per-for-(Microsecond%2C%20Second)">(Microsecond, Second)</a></li><li><a href="#impl-Per-for-(Microsecond%2C%20Week)">(Microsecond, Week)</a></li><li><a href="#impl-Per-for-(Millisecond%2C%20Day)">(Millisecond, Day)</a></li><li><a href="#impl-Per-for-(Millisecond%2C%20Hour)">(Millisecond, Hour)</a></li><li><a href="#impl-Per-for-(Millisecond%2C%20Minute)">(Millisecond, Minute)</a></li><li><a href="#impl-Per-for-(Millisecond%2C%20Second)">(Millisecond, Second)</a></li><li><a href="#impl-Per-for-(Millisecond%2C%20Week)">(Millisecond, Week)</a></li><li><a href="#impl-Per-for-(Minute%2C%20Day)">(Minute, Day)</a></li><li><a href="#impl-Per-for-(Minute%2C%20Hour)">(Minute, Hour)</a></li><li><a href="#impl-Per-for-(Minute%2C%20Week)">(Minute, Week)</a></li><li><a href="#impl-Per-for-(Nanosecond%2C%20Day)">(Nanosecond, Day)</a></li><li><a href="#impl-Per-for-(Nanosecond%2C%20Hour)">(Nanosecond, Hour)</a></li><li><a href="#impl-Per-for-(Nanosecond%2C%20Microsecond)">(Nanosecond, Microsecond)</a></li><li><a href="#impl-Per-for-(Nanosecond%2C%20Millisecond)">(Nanosecond, Millisecond)</a></li><li><a href="#impl-Per-for-(Nanosecond%2C%20Minute)">(Nanosecond, Minute)</a></li><li><a href="#impl-Per-for-(Nanosecond%2C%20Second)">(Nanosecond, Second)</a></li><li><a href="#impl-Per-for-(Nanosecond%2C%20Week)">(Nanosecond, Week)</a></li><li><a href="#impl-Per-for-(Second%2C%20Day)">(Second, Day)</a></li><li><a href="#impl-Per-for-(Second%2C%20Hour)">(Second, Hour)</a></li><li><a href="#impl-Per-for-(Second%2C%20Minute)">(Second, Minute)</a></li><li><a href="#impl-Per-for-(Second%2C%20Week)">(Second, Week)</a></li></ul><h3><a href="#implementors">Implementors</a></h3></section><h2><a href="index.html">In time_core::convert</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../wheel.svg"></a></div></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1 class="fqn">Trait <a href="../index.html">time_core</a>::<wbr><a href="index.html">convert</a>::<wbr><a class="trait" href="#">Per</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="srclink" href="../../src/time_core/convert.rs.html#35-39">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><div class="item-decl"><pre class="rust trait"><code>pub trait Per: Sealed {
type <a href="#associatedtype.Output" class="associatedtype">Output</a>;
const <a href="#associatedconstant.VALUE" class="constant">VALUE</a>: Self::<a class="associatedtype" href="trait.Per.html#associatedtype.Output" title="type time_core::convert::Per::Output">Output</a>;
}</code></pre></div><h2 id="required-associated-types" class="small-section-header">Required Associated Types<a href="#required-associated-types" class="anchor"></a></h2><div class="methods"><section id="associatedtype.Output" class="method has-srclink"><a class="srclink rightside" href="../../src/time_core/convert.rs.html#36">source</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a></h4></section></div><h2 id="required-associated-consts" class="small-section-header">Required Associated Constants<a href="#required-associated-consts" class="anchor"></a></h2><div class="methods"><section id="associatedconstant.VALUE" class="method has-srclink"><a class="srclink rightside" href="../../src/time_core/convert.rs.html#38">source</a><h4 class="code-header">const <a href="#associatedconstant.VALUE" class="constant">VALUE</a>: Self::<a class="associatedtype" href="trait.Per.html#associatedtype.Output" title="type time_core::convert::Per::Output">Output</a></h4></section></div><h2 id="foreign-impls" class="small-section-header">Implementations on Foreign Types<a href="#foreign-impls" class="anchor"></a></h2><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Per-for-(Nanosecond%2C%20Microsecond)" class="impl has-srclink"><a class="srclink rightside" href="../../src/time_core/convert.rs.html#53-88">source</a><a href="#impl-Per-for-(Nanosecond%2C%20Microsecond)" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.Per.html" title="trait time_core::convert::Per">Per</a> for (<a class="struct" href="struct.Nanosecond.html" title="struct time_core::convert::Nanosecond">Nanosecond</a>, <a class="struct" href="struct.Microsecond.html" title="struct time_core::convert::Microsecond">Microsecond</a>)</h3></section></summary><div class="impl-items"><section id="associatedtype.Output-1" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output-1" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = u16</h4></section><section id="associatedconstant.VALUE-1" class="associatedconstant trait-impl has-srclink"><a class="srclink rightside" href="../../src/time_core/convert.rs.html#53-88">source</a><a href="#associatedconstant.VALUE-1" class="anchor"></a><h4 class="code-header">const <a href="#associatedconstant.VALUE" class="constant">VALUE</a>: u16 = 1_000u16</h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Per-for-(Nanosecond%2C%20Millisecond)" class="impl has-srclink"><a class="srclink rightside" href="../../src/time_core/convert.rs.html#53-88">source</a><a href="#impl-Per-for-(Nanosecond%2C%20Millisecond)" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.Per.html" title="trait time_core::convert::Per">Per</a> for (<a class="struct" href="struct.Nanosecond.html" title="struct time_core::convert::Nanosecond">Nanosecond</a>, <a class="struct" href="struct.Millisecond.html" title="struct time_core::convert::Millisecond">Millisecond</a>)</h3></section></summary><div class="impl-items"><section id="associatedtype.Output-2" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output-2" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = u32</h4></section><section id="associatedconstant.VALUE-2" class="associatedconstant trait-impl has-srclink"><a class="srclink rightside" href="../../src/time_core/convert.rs.html#53-88">source</a><a href="#associatedconstant.VALUE-2" class="anchor"></a><h4 class="code-header">const <a href="#associatedconstant.VALUE" class="constant">VALUE</a>: u32 = 1_000_000u32</h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Per-for-(Nanosecond%2C%20Second)" class="impl has-srclink"><a class="srclink rightside" href="../../src/time_core/convert.rs.html#53-88">source</a><a href="#impl-Per-for-(Nanosecond%2C%20Second)" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.Per.html" title="trait time_core::convert::Per">Per</a> for (<a class="struct" href="struct.Nanosecond.html" title="struct time_core::convert::Nanosecond">Nanosecond</a>, <a class="struct" href="struct.Second.html" title="struct time_core::convert::Second">Second</a>)</h3></section></summary><div class="impl-items"><section id="associatedtype.Output-3" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output-3" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = u32</h4></section><section id="associatedconstant.VALUE-3" class="associatedconstant trait-impl has-srclink"><a class="srclink rightside" href="../../src/time_core/convert.rs.html#53-88">source</a><a href="#associatedconstant.VALUE-3" class="anchor"></a><h4 class="code-header">const <a href="#associatedconstant.VALUE" class="constant">VALUE</a>: u32 = 1_000_000_000u32</h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Per-for-(Nanosecond%2C%20Minute)" class="impl has-srclink"><a class="srclink rightside" href="../../src/time_core/convert.rs.html#53-88">source</a><a href="#impl-Per-for-(Nanosecond%2C%20Minute)" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.Per.html" title="trait time_core::convert::Per">Per</a> for (<a class="struct" href="struct.Nanosecond.html" title="struct time_core::convert::Nanosecond">Nanosecond</a>, <a class="struct" href="struct.Minute.html" title="struct time_core::convert::Minute">Minute</a>)</h3></section></summary><div class="impl-items"><section id="associatedtype.Output-4" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output-4" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = u64</h4></section><section id="associatedconstant.VALUE-4" class="associatedconstant trait-impl has-srclink"><a class="srclink rightside" href="../../src/time_core/convert.rs.html#53-88">source</a><a href="#associatedconstant.VALUE-4" class="anchor"></a><h4 class="code-header">const <a href="#associatedconstant.VALUE" class="constant">VALUE</a>: u64 = 60_000_000_000u64</h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Per-for-(Nanosecond%2C%20Hour)" class="impl has-srclink"><a class="srclink rightside" href="../../src/time_core/convert.rs.html#53-88">source</a><a href="#impl-Per-for-(Nanosecond%2C%20Hour)" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.Per.html" title="trait time_core::convert::Per">Per</a> for (<a class="struct" href="struct.Nanosecond.html" title="struct time_core::convert::Nanosecond">Nanosecond</a>, <a class="struct" href="struct.Hour.html" title="struct time_core::convert::Hour">Hour</a>)</h3></section></summary><div class="impl-items"><section id="associatedtype.Output-5" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output-5" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = u64</h4></section><section id="associatedconstant.VALUE-5" class="associatedconstant trait-impl has-srclink"><a class="srclink rightside" href="../../src/time_core/convert.rs.html#53-88">source</a><a href="#associatedconstant.VALUE-5" class="anchor"></a><h4 class="code-header">const <a href="#associatedconstant.VALUE" class="constant">VALUE</a>: u64 = 3_600_000_000_000u64</h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Per-for-(Nanosecond%2C%20Day)" class="impl has-srclink"><a class="srclink rightside" href="../../src/time_core/convert.rs.html#53-88">source</a><a href="#impl-Per-for-(Nanosecond%2C%20Day)" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.Per.html" title="trait time_core::convert::Per">Per</a> for (<a class="struct" href="struct.Nanosecond.html" title="struct time_core::convert::Nanosecond">Nanosecond</a>, <a class="struct" href="struct.Day.html" title="struct time_core::convert::Day">Day</a>)</h3></section></summary><div class="impl-items"><section id="associatedtype.Output-6" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output-6" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = u64</h4></section><section id="associatedconstant.VALUE-6" class="associatedconstant trait-impl has-srclink"><a class="srclink rightside" href="../../src/time_core/convert.rs.html#53-88">source</a><a href="#associatedconstant.VALUE-6" class="anchor"></a><h4 class="code-header">const <a href="#associatedconstant.VALUE" class="constant">VALUE</a>: u64 = 86_400_000_000_000u64</h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Per-for-(Nanosecond%2C%20Week)" class="impl has-srclink"><a class="srclink rightside" href="../../src/time_core/convert.rs.html#53-88">source</a><a href="#impl-Per-for-(Nanosecond%2C%20Week)" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.Per.html" title="trait time_core::convert::Per">Per</a> for (<a class="struct" href="struct.Nanosecond.html" title="struct time_core::convert::Nanosecond">Nanosecond</a>, <a class="struct" href="struct.Week.html" title="struct time_core::convert::Week">Week</a>)</h3></section></summary><div class="impl-items"><section id="associatedtype.Output-7" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output-7" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = u64</h4></section><section id="associatedconstant.VALUE-7" class="associatedconstant trait-impl has-srclink"><a class="srclink rightside" href="../../src/time_core/convert.rs.html#53-88">source</a><a href="#associatedconstant.VALUE-7" class="anchor"></a><h4 class="code-header">const <a href="#associatedconstant.VALUE" class="constant">VALUE</a>: u64 = 604_800_000_000_000u64</h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Per-for-(Microsecond%2C%20Millisecond)" class="impl has-srclink"><a class="srclink rightside" href="../../src/time_core/convert.rs.html#53-88">source</a><a href="#impl-Per-for-(Microsecond%2C%20Millisecond)" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.Per.html" title="trait time_core::convert::Per">Per</a> for (<a class="struct" href="struct.Microsecond.html" title="struct time_core::convert::Microsecond">Microsecond</a>, <a class="struct" href="struct.Millisecond.html" title="struct time_core::convert::Millisecond">Millisecond</a>)</h3></section></summary><div class="impl-items"><section id="associatedtype.Output-8" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output-8" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = u16</h4></section><section id="associatedconstant.VALUE-8" class="associatedconstant trait-impl has-srclink"><a class="srclink rightside" href="../../src/time_core/convert.rs.html#53-88">source</a><a href="#associatedconstant.VALUE-8" class="anchor"></a><h4 class="code-header">const <a href="#associatedconstant.VALUE" class="constant">VALUE</a>: u16 = 1_000u16</h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Per-for-(Microsecond%2C%20Second)" class="impl has-srclink"><a class="srclink rightside" href="../../src/time_core/convert.rs.html#53-88">source</a><a href="#impl-Per-for-(Microsecond%2C%20Second)" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.Per.html" title="trait time_core::convert::Per">Per</a> for (<a class="struct" href="struct.Microsecond.html" title="struct time_core::convert::Microsecond">Microsecond</a>, <a class="struct" href="struct.Second.html" title="struct time_core::convert::Second">Second</a>)</h3></section></summary><div class="impl-items"><section id="associatedtype.Output-9" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output-9" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = u32</h4></section><section id="associatedconstant.VALUE-9" class="associatedconstant trait-impl has-srclink"><a class="srclink rightside" href="../../src/time_core/convert.rs.html#53-88">source</a><a href="#associatedconstant.VALUE-9" class="anchor"></a><h4 class="code-header">const <a href="#associatedconstant.VALUE" class="constant">VALUE</a>: u32 = 1_000_000u32</h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Per-for-(Microsecond%2C%20Minute)" class="impl has-srclink"><a class="srclink rightside" href="../../src/time_core/convert.rs.html#53-88">source</a><a href="#impl-Per-for-(Microsecond%2C%20Minute)" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.Per.html" title="trait time_core::convert::Per">Per</a> for (<a class="struct" href="struct.Microsecond.html" title="struct time_core::convert::Microsecond">Microsecond</a>, <a class="struct" href="struct.Minute.html" title="struct time_core::convert::Minute">Minute</a>)</h3></section></summary><div class="impl-items"><section id="associatedtype.Output-10" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output-10" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = u32</h4></section><section id="associatedconstant.VALUE-10" class="associatedconstant trait-impl has-srclink"><a class="srclink rightside" href="../../src/time_core/convert.rs.html#53-88">source</a><a href="#associatedconstant.VALUE-10" class="anchor"></a><h4 class="code-header">const <a href="#associatedconstant.VALUE" class="constant">VALUE</a>: u32 = 60_000_000u32</h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Per-for-(Microsecond%2C%20Hour)" class="impl has-srclink"><a class="srclink rightside" href="../../src/time_core/convert.rs.html#53-88">source</a><a href="#impl-Per-for-(Microsecond%2C%20Hour)" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.Per.html" title="trait time_core::convert::Per">Per</a> for (<a class="struct" href="struct.Microsecond.html" title="struct time_core::convert::Microsecond">Microsecond</a>, <a class="struct" href="struct.Hour.html" title="struct time_core::convert::Hour">Hour</a>)</h3></section></summary><div class="impl-items"><section id="associatedtype.Output-11" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output-11" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = u32</h4></section><section id="associatedconstant.VALUE-11" class="associatedconstant trait-impl has-srclink"><a class="srclink rightside" href="../../src/time_core/convert.rs.html#53-88">source</a><a href="#associatedconstant.VALUE-11" class="anchor"></a><h4 class="code-header">const <a href="#associatedconstant.VALUE" class="constant">VALUE</a>: u32 = 3_600_000_000u32</h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Per-for-(Microsecond%2C%20Day)" class="impl has-srclink"><a class="srclink rightside" href="../../src/time_core/convert.rs.html#53-88">source</a><a href="#impl-Per-for-(Microsecond%2C%20Day)" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.Per.html" title="trait time_core::convert::Per">Per</a> for (<a class="struct" href="struct.Microsecond.html" title="struct time_core::convert::Microsecond">Microsecond</a>, <a class="struct" href="struct.Day.html" title="struct time_core::convert::Day">Day</a>)</h3></section></summary><div class="impl-items"><section id="associatedtype.Output-12" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output-12" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = u64</h4></section><section id="associatedconstant.VALUE-12" class="associatedconstant trait-impl has-srclink"><a class="srclink rightside" href="../../src/time_core/convert.rs.html#53-88">source</a><a href="#associatedconstant.VALUE-12" class="anchor"></a><h4 class="code-header">const <a href="#associatedconstant.VALUE" class="constant">VALUE</a>: u64 = 86_400_000_000u64</h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Per-for-(Microsecond%2C%20Week)" class="impl has-srclink"><a class="srclink rightside" href="../../src/time_core/convert.rs.html#53-88">source</a><a href="#impl-Per-for-(Microsecond%2C%20Week)" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.Per.html" title="trait time_core::convert::Per">Per</a> for (<a class="struct" href="struct.Microsecond.html" title="struct time_core::convert::Microsecond">Microsecond</a>, <a class="struct" href="struct.Week.html" title="struct time_core::convert::Week">Week</a>)</h3></section></summary><div class="impl-items"><section id="associatedtype.Output-13" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output-13" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = u64</h4></section><section id="associatedconstant.VALUE-13" class="associatedconstant trait-impl has-srclink"><a class="srclink rightside" href="../../src/time_core/convert.rs.html#53-88">source</a><a href="#associatedconstant.VALUE-13" class="anchor"></a><h4 class="code-header">const <a href="#associatedconstant.VALUE" class="constant">VALUE</a>: u64 = 604_800_000_000u64</h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Per-for-(Millisecond%2C%20Second)" class="impl has-srclink"><a class="srclink rightside" href="../../src/time_core/convert.rs.html#53-88">source</a><a href="#impl-Per-for-(Millisecond%2C%20Second)" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.Per.html" title="trait time_core::convert::Per">Per</a> for (<a class="struct" href="struct.Millisecond.html" title="struct time_core::convert::Millisecond">Millisecond</a>, <a class="struct" href="struct.Second.html" title="struct time_core::convert::Second">Second</a>)</h3></section></summary><div class="impl-items"><section id="associatedtype.Output-14" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output-14" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = u16</h4></section><section id="associatedconstant.VALUE-14" class="associatedconstant trait-impl has-srclink"><a class="srclink rightside" href="../../src/time_core/convert.rs.html#53-88">source</a><a href="#associatedconstant.VALUE-14" class="anchor"></a><h4 class="code-header">const <a href="#associatedconstant.VALUE" class="constant">VALUE</a>: u16 = 1_000u16</h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Per-for-(Millisecond%2C%20Minute)" class="impl has-srclink"><a class="srclink rightside" href="../../src/time_core/convert.rs.html#53-88">source</a><a href="#impl-Per-for-(Millisecond%2C%20Minute)" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.Per.html" title="trait time_core::convert::Per">Per</a> for (<a class="struct" href="struct.Millisecond.html" title="struct time_core::convert::Millisecond">Millisecond</a>, <a class="struct" href="struct.Minute.html" title="struct time_core::convert::Minute">Minute</a>)</h3></section></summary><div class="impl-items"><section id="associatedtype.Output-15" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output-15" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = u16</h4></section><section id="associatedconstant.VALUE-15" class="associatedconstant trait-impl has-srclink"><a class="srclink rightside" href="../../src/time_core/convert.rs.html#53-88">source</a><a href="#associatedconstant.VALUE-15" class="anchor"></a><h4 class="code-header">const <a href="#associatedconstant.VALUE" class="constant">VALUE</a>: u16 = 60_000u16</h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Per-for-(Millisecond%2C%20Hour)" class="impl has-srclink"><a class="srclink rightside" href="../../src/time_core/convert.rs.html#53-88">source</a><a href="#impl-Per-for-(Millisecond%2C%20Hour)" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.Per.html" title="trait time_core::convert::Per">Per</a> for (<a class="struct" href="struct.Millisecond.html" title="struct time_core::convert::Millisecond">Millisecond</a>, <a class="struct" href="struct.Hour.html" title="struct time_core::convert::Hour">Hour</a>)</h3></section></summary><div class="impl-items"><section id="associatedtype.Output-16" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output-16" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = u32</h4></section><section id="associatedconstant.VALUE-16" class="associatedconstant trait-impl has-srclink"><a class="srclink rightside" href="../../src/time_core/convert.rs.html#53-88">source</a><a href="#associatedconstant.VALUE-16" class="anchor"></a><h4 class="code-header">const <a href="#associatedconstant.VALUE" class="constant">VALUE</a>: u32 = 3_600_000u32</h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Per-for-(Millisecond%2C%20Day)" class="impl has-srclink"><a class="srclink rightside" href="../../src/time_core/convert.rs.html#53-88">source</a><a href="#impl-Per-for-(Millisecond%2C%20Day)" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.Per.html" title="trait time_core::convert::Per">Per</a> for (<a class="struct" href="struct.Millisecond.html" title="struct time_core::convert::Millisecond">Millisecond</a>, <a class="struct" href="struct.Day.html" title="struct time_core::convert::Day">Day</a>)</h3></section></summary><div class="impl-items"><section id="associatedtype.Output-17" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output-17" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = u32</h4></section><section id="associatedconstant.VALUE-17" class="associatedconstant trait-impl has-srclink"><a class="srclink rightside" href="../../src/time_core/convert.rs.html#53-88">source</a><a href="#associatedconstant.VALUE-17" class="anchor"></a><h4 class="code-header">const <a href="#associatedconstant.VALUE" class="constant">VALUE</a>: u32 = 86_400_000u32</h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Per-for-(Millisecond%2C%20Week)" class="impl has-srclink"><a class="srclink rightside" href="../../src/time_core/convert.rs.html#53-88">source</a><a href="#impl-Per-for-(Millisecond%2C%20Week)" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.Per.html" title="trait time_core::convert::Per">Per</a> for (<a class="struct" href="struct.Millisecond.html" title="struct time_core::convert::Millisecond">Millisecond</a>, <a class="struct" href="struct.Week.html" title="struct time_core::convert::Week">Week</a>)</h3></section></summary><div class="impl-items"><section id="associatedtype.Output-18" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output-18" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = u32</h4></section><section id="associatedconstant.VALUE-18" class="associatedconstant trait-impl has-srclink"><a class="srclink rightside" href="../../src/time_core/convert.rs.html#53-88">source</a><a href="#associatedconstant.VALUE-18" class="anchor"></a><h4 class="code-header">const <a href="#associatedconstant.VALUE" class="constant">VALUE</a>: u32 = 604_800_000u32</h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Per-for-(Second%2C%20Minute)" class="impl has-srclink"><a class="srclink rightside" href="../../src/time_core/convert.rs.html#53-88">source</a><a href="#impl-Per-for-(Second%2C%20Minute)" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.Per.html" title="trait time_core::convert::Per">Per</a> for (<a class="struct" href="struct.Second.html" title="struct time_core::convert::Second">Second</a>, <a class="struct" href="struct.Minute.html" title="struct time_core::convert::Minute">Minute</a>)</h3></section></summary><div class="impl-items"><section id="associatedtype.Output-19" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output-19" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = u8</h4></section><section id="associatedconstant.VALUE-19" class="associatedconstant trait-impl has-srclink"><a class="srclink rightside" href="../../src/time_core/convert.rs.html#53-88">source</a><a href="#associatedconstant.VALUE-19" class="anchor"></a><h4 class="code-header">const <a href="#associatedconstant.VALUE" class="constant">VALUE</a>: u8 = 60u8</h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Per-for-(Second%2C%20Hour)" class="impl has-srclink"><a class="srclink rightside" href="../../src/time_core/convert.rs.html#53-88">source</a><a href="#impl-Per-for-(Second%2C%20Hour)" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.Per.html" title="trait time_core::convert::Per">Per</a> for (<a class="struct" href="struct.Second.html" title="struct time_core::convert::Second">Second</a>, <a class="struct" href="struct.Hour.html" title="struct time_core::convert::Hour">Hour</a>)</h3></section></summary><div class="impl-items"><section id="associatedtype.Output-20" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output-20" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = u16</h4></section><section id="associatedconstant.VALUE-20" class="associatedconstant trait-impl has-srclink"><a class="srclink rightside" href="../../src/time_core/convert.rs.html#53-88">source</a><a href="#associatedconstant.VALUE-20" class="anchor"></a><h4 class="code-header">const <a href="#associatedconstant.VALUE" class="constant">VALUE</a>: u16 = 3_600u16</h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Per-for-(Second%2C%20Day)" class="impl has-srclink"><a class="srclink rightside" href="../../src/time_core/convert.rs.html#53-88">source</a><a href="#impl-Per-for-(Second%2C%20Day)" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.Per.html" title="trait time_core::convert::Per">Per</a> for (<a class="struct" href="struct.Second.html" title="struct time_core::convert::Second">Second</a>, <a class="struct" href="struct.Day.html" title="struct time_core::convert::Day">Day</a>)</h3></section></summary><div class="impl-items"><section id="associatedtype.Output-21" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output-21" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = u32</h4></section><section id="associatedconstant.VALUE-21" class="associatedconstant trait-impl has-srclink"><a class="srclink rightside" href="../../src/time_core/convert.rs.html#53-88">source</a><a href="#associatedconstant.VALUE-21" class="anchor"></a><h4 class="code-header">const <a href="#associatedconstant.VALUE" class="constant">VALUE</a>: u32 = 86_400u32</h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Per-for-(Second%2C%20Week)" class="impl has-srclink"><a class="srclink rightside" href="../../src/time_core/convert.rs.html#53-88">source</a><a href="#impl-Per-for-(Second%2C%20Week)" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.Per.html" title="trait time_core::convert::Per">Per</a> for (<a class="struct" href="struct.Second.html" title="struct time_core::convert::Second">Second</a>, <a class="struct" href="struct.Week.html" title="struct time_core::convert::Week">Week</a>)</h3></section></summary><div class="impl-items"><section id="associatedtype.Output-22" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output-22" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = u32</h4></section><section id="associatedconstant.VALUE-22" class="associatedconstant trait-impl has-srclink"><a class="srclink rightside" href="../../src/time_core/convert.rs.html#53-88">source</a><a href="#associatedconstant.VALUE-22" class="anchor"></a><h4 class="code-header">const <a href="#associatedconstant.VALUE" class="constant">VALUE</a>: u32 = 604_800u32</h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Per-for-(Minute%2C%20Hour)" class="impl has-srclink"><a class="srclink rightside" href="../../src/time_core/convert.rs.html#53-88">source</a><a href="#impl-Per-for-(Minute%2C%20Hour)" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.Per.html" title="trait time_core::convert::Per">Per</a> for (<a class="struct" href="struct.Minute.html" title="struct time_core::convert::Minute">Minute</a>, <a class="struct" href="struct.Hour.html" title="struct time_core::convert::Hour">Hour</a>)</h3></section></summary><div class="impl-items"><section id="associatedtype.Output-23" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output-23" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = u8</h4></section><section id="associatedconstant.VALUE-23" class="associatedconstant trait-impl has-srclink"><a class="srclink rightside" href="../../src/time_core/convert.rs.html#53-88">source</a><a href="#associatedconstant.VALUE-23" class="anchor"></a><h4 class="code-header">const <a href="#associatedconstant.VALUE" class="constant">VALUE</a>: u8 = 60u8</h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Per-for-(Minute%2C%20Day)" class="impl has-srclink"><a class="srclink rightside" href="../../src/time_core/convert.rs.html#53-88">source</a><a href="#impl-Per-for-(Minute%2C%20Day)" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.Per.html" title="trait time_core::convert::Per">Per</a> for (<a class="struct" href="struct.Minute.html" title="struct time_core::convert::Minute">Minute</a>, <a class="struct" href="struct.Day.html" title="struct time_core::convert::Day">Day</a>)</h3></section></summary><div class="impl-items"><section id="associatedtype.Output-24" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output-24" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = u16</h4></section><section id="associatedconstant.VALUE-24" class="associatedconstant trait-impl has-srclink"><a class="srclink rightside" href="../../src/time_core/convert.rs.html#53-88">source</a><a href="#associatedconstant.VALUE-24" class="anchor"></a><h4 class="code-header">const <a href="#associatedconstant.VALUE" class="constant">VALUE</a>: u16 = 1_440u16</h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Per-for-(Minute%2C%20Week)" class="impl has-srclink"><a class="srclink rightside" href="../../src/time_core/convert.rs.html#53-88">source</a><a href="#impl-Per-for-(Minute%2C%20Week)" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.Per.html" title="trait time_core::convert::Per">Per</a> for (<a class="struct" href="struct.Minute.html" title="struct time_core::convert::Minute">Minute</a>, <a class="struct" href="struct.Week.html" title="struct time_core::convert::Week">Week</a>)</h3></section></summary><div class="impl-items"><section id="associatedtype.Output-25" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output-25" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = u16</h4></section><section id="associatedconstant.VALUE-25" class="associatedconstant trait-impl has-srclink"><a class="srclink rightside" href="../../src/time_core/convert.rs.html#53-88">source</a><a href="#associatedconstant.VALUE-25" class="anchor"></a><h4 class="code-header">const <a href="#associatedconstant.VALUE" class="constant">VALUE</a>: u16 = 10_080u16</h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Per-for-(Hour%2C%20Day)" class="impl has-srclink"><a class="srclink rightside" href="../../src/time_core/convert.rs.html#53-88">source</a><a href="#impl-Per-for-(Hour%2C%20Day)" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.Per.html" title="trait time_core::convert::Per">Per</a> for (<a class="struct" href="struct.Hour.html" title="struct time_core::convert::Hour">Hour</a>, <a class="struct" href="struct.Day.html" title="struct time_core::convert::Day">Day</a>)</h3></section></summary><div class="impl-items"><section id="associatedtype.Output-26" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output-26" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = u8</h4></section><section id="associatedconstant.VALUE-26" class="associatedconstant trait-impl has-srclink"><a class="srclink rightside" href="../../src/time_core/convert.rs.html#53-88">source</a><a href="#associatedconstant.VALUE-26" class="anchor"></a><h4 class="code-header">const <a href="#associatedconstant.VALUE" class="constant">VALUE</a>: u8 = 24u8</h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Per-for-(Hour%2C%20Week)" class="impl has-srclink"><a class="srclink rightside" href="../../src/time_core/convert.rs.html#53-88">source</a><a href="#impl-Per-for-(Hour%2C%20Week)" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.Per.html" title="trait time_core::convert::Per">Per</a> for (<a class="struct" href="struct.Hour.html" title="struct time_core::convert::Hour">Hour</a>, <a class="struct" href="struct.Week.html" title="struct time_core::convert::Week">Week</a>)</h3></section></summary><div class="impl-items"><section id="associatedtype.Output-27" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output-27" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = u8</h4></section><section id="associatedconstant.VALUE-27" class="associatedconstant trait-impl has-srclink"><a class="srclink rightside" href="../../src/time_core/convert.rs.html#53-88">source</a><a href="#associatedconstant.VALUE-27" class="anchor"></a><h4 class="code-header">const <a href="#associatedconstant.VALUE" class="constant">VALUE</a>: u8 = 168u8</h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Per-for-(Day%2C%20Week)" class="impl has-srclink"><a class="srclink rightside" href="../../src/time_core/convert.rs.html#53-88">source</a><a href="#impl-Per-for-(Day%2C%20Week)" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.Per.html" title="trait time_core::convert::Per">Per</a> for (<a class="struct" href="struct.Day.html" title="struct time_core::convert::Day">Day</a>, <a class="struct" href="struct.Week.html" title="struct time_core::convert::Week">Week</a>)</h3></section></summary><div class="impl-items"><section id="associatedtype.Output-28" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output-28" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = u8</h4></section><section id="associatedconstant.VALUE-28" class="associatedconstant trait-impl has-srclink"><a class="srclink rightside" href="../../src/time_core/convert.rs.html#53-88">source</a><a href="#associatedconstant.VALUE-28" class="anchor"></a><h4 class="code-header">const <a href="#associatedconstant.VALUE" class="constant">VALUE</a>: u8 = 7u8</h4></section></div></details><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div id="implementors-list"></div><script src="../../implementors/time_core/convert/trait.Per.js" data-ignore-extern-crates="core" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../" data-current-crate="time_core" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.66.0-nightly (5c8bff74b 2022-10-21)" ></div></body></html>