mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-01-25 12:44:07 +01:00
49 lines
23 KiB
HTML
49 lines
23 KiB
HTML
<!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="Create `Duration`s from numeric literals."><title>NumericalDuration in time::ext - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-ac92e1bbe349e143.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="time" data-themes="" data-resource-suffix="" data-rustdoc-version="1.76.0 (07dca489a 2024-02-04)" data-channel="1.76.0" data-search-js="search-2b6ce74ff89ae146.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../static.files/storage-f2adc0d6ca4d09fb.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-305769736d49e732.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-feafe1bb7466e4bd.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">☰</button><a class="logo-container" href="../../time/index.html"><img src="https://avatars0.githubusercontent.com/u/55999857" alt=""></a></nav><nav class="sidebar"><div class="sidebar-crate"><a class="logo-container" href="../../time/index.html"><img src="https://avatars0.githubusercontent.com/u/55999857" alt="logo"></a><h2><a href="../../time/index.html">time</a><span class="version">0.3.30</span></h2></div><h2 class="location"><a href="#">NumericalDuration</a></h2><div class="sidebar-elems"><section><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.days">days</a></li><li><a href="#tymethod.hours">hours</a></li><li><a href="#tymethod.microseconds">microseconds</a></li><li><a href="#tymethod.milliseconds">milliseconds</a></li><li><a href="#tymethod.minutes">minutes</a></li><li><a href="#tymethod.nanoseconds">nanoseconds</a></li><li><a href="#tymethod.seconds">seconds</a></li><li><a href="#tymethod.weeks">weeks</a></li></ul><h3><a href="#foreign-impls">Implementations on Foreign Types</a></h3><ul class="block"><li><a href="#impl-NumericalDuration-for-f64">f64</a></li><li><a href="#impl-NumericalDuration-for-i64">i64</a></li></ul><h3><a href="#implementors">Implementors</a></h3></section><h2><a href="index.html">In time::ext</a></h2></div></nav><div class="sidebar-resizer"></div>
|
||
<main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../../time/all.html" title="show sidebar"></a></div><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"><div id="help-button" tabindex="-1"><a href="../../help.html" title="help">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Trait <a href="../index.html">time</a>::<wbr><a href="index.html">ext</a>::<wbr><a class="trait" href="#">NumericalDuration</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../src/time/ext.rs.html#61-78">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><pre class="rust item-decl"><code>pub trait NumericalDuration: Sealed {
|
||
// Required methods
|
||
fn <a href="#tymethod.nanoseconds" class="fn">nanoseconds</a>(self) -> <a class="struct" href="../struct.Duration.html" title="struct time::Duration">Duration</a>;
|
||
<span class="item-spacer"></span> fn <a href="#tymethod.microseconds" class="fn">microseconds</a>(self) -> <a class="struct" href="../struct.Duration.html" title="struct time::Duration">Duration</a>;
|
||
<span class="item-spacer"></span> fn <a href="#tymethod.milliseconds" class="fn">milliseconds</a>(self) -> <a class="struct" href="../struct.Duration.html" title="struct time::Duration">Duration</a>;
|
||
<span class="item-spacer"></span> fn <a href="#tymethod.seconds" class="fn">seconds</a>(self) -> <a class="struct" href="../struct.Duration.html" title="struct time::Duration">Duration</a>;
|
||
<span class="item-spacer"></span> fn <a href="#tymethod.minutes" class="fn">minutes</a>(self) -> <a class="struct" href="../struct.Duration.html" title="struct time::Duration">Duration</a>;
|
||
<span class="item-spacer"></span> fn <a href="#tymethod.hours" class="fn">hours</a>(self) -> <a class="struct" href="../struct.Duration.html" title="struct time::Duration">Duration</a>;
|
||
<span class="item-spacer"></span> fn <a href="#tymethod.days" class="fn">days</a>(self) -> <a class="struct" href="../struct.Duration.html" title="struct time::Duration">Duration</a>;
|
||
<span class="item-spacer"></span> fn <a href="#tymethod.weeks" class="fn">weeks</a>(self) -> <a class="struct" href="../struct.Duration.html" title="struct time::Duration">Duration</a>;
|
||
}</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Create <a href="../struct.Duration.html" title="struct time::Duration"><code>Duration</code></a>s from numeric literals.</p>
|
||
<h2 id="examples"><a href="#examples">Examples</a></h2>
|
||
<p>Basic construction of <a href="../struct.Duration.html" title="struct time::Duration"><code>Duration</code></a>s.</p>
|
||
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="macro">assert_eq!</span>(<span class="number">5</span>.nanoseconds(), Duration::nanoseconds(<span class="number">5</span>));
|
||
<span class="macro">assert_eq!</span>(<span class="number">5</span>.microseconds(), Duration::microseconds(<span class="number">5</span>));
|
||
<span class="macro">assert_eq!</span>(<span class="number">5</span>.milliseconds(), Duration::milliseconds(<span class="number">5</span>));
|
||
<span class="macro">assert_eq!</span>(<span class="number">5</span>.seconds(), Duration::seconds(<span class="number">5</span>));
|
||
<span class="macro">assert_eq!</span>(<span class="number">5</span>.minutes(), Duration::minutes(<span class="number">5</span>));
|
||
<span class="macro">assert_eq!</span>(<span class="number">5</span>.hours(), Duration::hours(<span class="number">5</span>));
|
||
<span class="macro">assert_eq!</span>(<span class="number">5</span>.days(), Duration::days(<span class="number">5</span>));
|
||
<span class="macro">assert_eq!</span>(<span class="number">5</span>.weeks(), Duration::weeks(<span class="number">5</span>));</code></pre><a class="test-arrow" target="_blank" href="https://play.rust-lang.org?code=%23!%5Ballow(unused)%5D%0A%23%5Ballow(unused_extern_crates)%5D%0Aextern+crate+r%23time;%0Afn+main()+%7B%0Ause+time::%7BDuration,+ext::NumericalDuration%7D;%0Aassert_eq!(5.nanoseconds(),+Duration::nanoseconds(5));%0Aassert_eq!(5.microseconds(),+Duration::microseconds(5));%0Aassert_eq!(5.milliseconds(),+Duration::milliseconds(5));%0Aassert_eq!(5.seconds(),+Duration::seconds(5));%0Aassert_eq!(5.minutes(),+Duration::minutes(5));%0Aassert_eq!(5.hours(),+Duration::hours(5));%0Aassert_eq!(5.days(),+Duration::days(5));%0Aassert_eq!(5.weeks(),+Duration::weeks(5));%0A%7D&edition=2021">Run</a></div>
|
||
<p>Signed integers work as well!</p>
|
||
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="macro">assert_eq!</span>((-<span class="number">5</span>).nanoseconds(), Duration::nanoseconds(-<span class="number">5</span>));
|
||
<span class="macro">assert_eq!</span>((-<span class="number">5</span>).microseconds(), Duration::microseconds(-<span class="number">5</span>));
|
||
<span class="macro">assert_eq!</span>((-<span class="number">5</span>).milliseconds(), Duration::milliseconds(-<span class="number">5</span>));
|
||
<span class="macro">assert_eq!</span>((-<span class="number">5</span>).seconds(), Duration::seconds(-<span class="number">5</span>));
|
||
<span class="macro">assert_eq!</span>((-<span class="number">5</span>).minutes(), Duration::minutes(-<span class="number">5</span>));
|
||
<span class="macro">assert_eq!</span>((-<span class="number">5</span>).hours(), Duration::hours(-<span class="number">5</span>));
|
||
<span class="macro">assert_eq!</span>((-<span class="number">5</span>).days(), Duration::days(-<span class="number">5</span>));
|
||
<span class="macro">assert_eq!</span>((-<span class="number">5</span>).weeks(), Duration::weeks(-<span class="number">5</span>));</code></pre><a class="test-arrow" target="_blank" href="https://play.rust-lang.org?code=%23!%5Ballow(unused)%5D%0A%23%5Ballow(unused_extern_crates)%5D%0Aextern+crate+r%23time;%0Afn+main()+%7B%0Ause+time::%7BDuration,+ext::NumericalDuration%7D;%0Aassert_eq!((-5).nanoseconds(),+Duration::nanoseconds(-5));%0Aassert_eq!((-5).microseconds(),+Duration::microseconds(-5));%0Aassert_eq!((-5).milliseconds(),+Duration::milliseconds(-5));%0Aassert_eq!((-5).seconds(),+Duration::seconds(-5));%0Aassert_eq!((-5).minutes(),+Duration::minutes(-5));%0Aassert_eq!((-5).hours(),+Duration::hours(-5));%0Aassert_eq!((-5).days(),+Duration::days(-5));%0Aassert_eq!((-5).weeks(),+Duration::weeks(-5));%0A%7D&edition=2021">Run</a></div>
|
||
<p>Just like any other <a href="../struct.Duration.html" title="struct time::Duration"><code>Duration</code></a>, they can be added, subtracted, etc.</p>
|
||
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="macro">assert_eq!</span>(<span class="number">2</span>.seconds() + <span class="number">500</span>.milliseconds(), <span class="number">2_500</span>.milliseconds());
|
||
<span class="macro">assert_eq!</span>(<span class="number">2</span>.seconds() - <span class="number">500</span>.milliseconds(), <span class="number">1_500</span>.milliseconds());</code></pre><a class="test-arrow" target="_blank" href="https://play.rust-lang.org?code=%23!%5Ballow(unused)%5D%0A%23%5Ballow(unused_extern_crates)%5D%0Aextern+crate+r%23time;%0Afn+main()+%7B%0Ause+time::ext::NumericalDuration;%0Aassert_eq!(2.seconds()+%2B+500.milliseconds(),+2_500.milliseconds());%0Aassert_eq!(2.seconds()+-+500.milliseconds(),+1_500.milliseconds());%0A%7D&edition=2021">Run</a></div>
|
||
<p>When called on floating point values, any remainder of the floating point value will be
|
||
truncated. Keep in mind that floating point numbers are inherently imprecise and have limited
|
||
capacity.</p>
|
||
</div></details><h2 id="required-methods" class="section-header">Required Methods<a href="#required-methods" class="anchor">§</a></h2><div class="methods"><details class="toggle method-toggle" open><summary><section id="tymethod.nanoseconds" class="method"><a class="src rightside" href="../../src/time/ext.rs.html#63">source</a><h4 class="code-header">fn <a href="#tymethod.nanoseconds" class="fn">nanoseconds</a>(self) -> <a class="struct" href="../struct.Duration.html" title="struct time::Duration">Duration</a></h4></section></summary><div class="docblock"><p>Create a <a href="../struct.Duration.html" title="struct time::Duration"><code>Duration</code></a> from the number of nanoseconds.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.microseconds" class="method"><a class="src rightside" href="../../src/time/ext.rs.html#65">source</a><h4 class="code-header">fn <a href="#tymethod.microseconds" class="fn">microseconds</a>(self) -> <a class="struct" href="../struct.Duration.html" title="struct time::Duration">Duration</a></h4></section></summary><div class="docblock"><p>Create a <a href="../struct.Duration.html" title="struct time::Duration"><code>Duration</code></a> from the number of microseconds.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.milliseconds" class="method"><a class="src rightside" href="../../src/time/ext.rs.html#67">source</a><h4 class="code-header">fn <a href="#tymethod.milliseconds" class="fn">milliseconds</a>(self) -> <a class="struct" href="../struct.Duration.html" title="struct time::Duration">Duration</a></h4></section></summary><div class="docblock"><p>Create a <a href="../struct.Duration.html" title="struct time::Duration"><code>Duration</code></a> from the number of milliseconds.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.seconds" class="method"><a class="src rightside" href="../../src/time/ext.rs.html#69">source</a><h4 class="code-header">fn <a href="#tymethod.seconds" class="fn">seconds</a>(self) -> <a class="struct" href="../struct.Duration.html" title="struct time::Duration">Duration</a></h4></section></summary><div class="docblock"><p>Create a <a href="../struct.Duration.html" title="struct time::Duration"><code>Duration</code></a> from the number of seconds.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.minutes" class="method"><a class="src rightside" href="../../src/time/ext.rs.html#71">source</a><h4 class="code-header">fn <a href="#tymethod.minutes" class="fn">minutes</a>(self) -> <a class="struct" href="../struct.Duration.html" title="struct time::Duration">Duration</a></h4></section></summary><div class="docblock"><p>Create a <a href="../struct.Duration.html" title="struct time::Duration"><code>Duration</code></a> from the number of minutes.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.hours" class="method"><a class="src rightside" href="../../src/time/ext.rs.html#73">source</a><h4 class="code-header">fn <a href="#tymethod.hours" class="fn">hours</a>(self) -> <a class="struct" href="../struct.Duration.html" title="struct time::Duration">Duration</a></h4></section></summary><div class="docblock"><p>Create a <a href="../struct.Duration.html" title="struct time::Duration"><code>Duration</code></a> from the number of hours.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.days" class="method"><a class="src rightside" href="../../src/time/ext.rs.html#75">source</a><h4 class="code-header">fn <a href="#tymethod.days" class="fn">days</a>(self) -> <a class="struct" href="../struct.Duration.html" title="struct time::Duration">Duration</a></h4></section></summary><div class="docblock"><p>Create a <a href="../struct.Duration.html" title="struct time::Duration"><code>Duration</code></a> from the number of days.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.weeks" class="method"><a class="src rightside" href="../../src/time/ext.rs.html#77">source</a><h4 class="code-header">fn <a href="#tymethod.weeks" class="fn">weeks</a>(self) -> <a class="struct" href="../struct.Duration.html" title="struct time::Duration">Duration</a></h4></section></summary><div class="docblock"><p>Create a <a href="../struct.Duration.html" title="struct time::Duration"><code>Duration</code></a> from the number of weeks.</p>
|
||
</div></details></div><h2 id="foreign-impls" class="section-header">Implementations on Foreign Types<a href="#foreign-impls" class="anchor">§</a></h2><details class="toggle implementors-toggle"><summary><section id="impl-NumericalDuration-for-f64" class="impl"><a class="src rightside" href="../../src/time/ext.rs.html#114-146">source</a><a href="#impl-NumericalDuration-for-f64" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.NumericalDuration.html" title="trait time::ext::NumericalDuration">NumericalDuration</a> for <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.f64.html">f64</a></h3></section></summary><div class="impl-items"><section id="method.nanoseconds" class="method trait-impl"><a class="src rightside" href="../../src/time/ext.rs.html#115-117">source</a><a href="#method.nanoseconds" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.nanoseconds" class="fn">nanoseconds</a>(self) -> <a class="struct" href="../struct.Duration.html" title="struct time::Duration">Duration</a></h4></section><section id="method.microseconds" class="method trait-impl"><a class="src rightside" href="../../src/time/ext.rs.html#119-121">source</a><a href="#method.microseconds" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.microseconds" class="fn">microseconds</a>(self) -> <a class="struct" href="../struct.Duration.html" title="struct time::Duration">Duration</a></h4></section><section id="method.milliseconds" class="method trait-impl"><a class="src rightside" href="../../src/time/ext.rs.html#123-125">source</a><a href="#method.milliseconds" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.milliseconds" class="fn">milliseconds</a>(self) -> <a class="struct" href="../struct.Duration.html" title="struct time::Duration">Duration</a></h4></section><section id="method.seconds" class="method trait-impl"><a class="src rightside" href="../../src/time/ext.rs.html#127-129">source</a><a href="#method.seconds" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.seconds" class="fn">seconds</a>(self) -> <a class="struct" href="../struct.Duration.html" title="struct time::Duration">Duration</a></h4></section><section id="method.minutes" class="method trait-impl"><a class="src rightside" href="../../src/time/ext.rs.html#131-133">source</a><a href="#method.minutes" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.minutes" class="fn">minutes</a>(self) -> <a class="struct" href="../struct.Duration.html" title="struct time::Duration">Duration</a></h4></section><section id="method.hours" class="method trait-impl"><a class="src rightside" href="../../src/time/ext.rs.html#135-137">source</a><a href="#method.hours" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.hours" class="fn">hours</a>(self) -> <a class="struct" href="../struct.Duration.html" title="struct time::Duration">Duration</a></h4></section><section id="method.days" class="method trait-impl"><a class="src rightside" href="../../src/time/ext.rs.html#139-141">source</a><a href="#method.days" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.days" class="fn">days</a>(self) -> <a class="struct" href="../struct.Duration.html" title="struct time::Duration">Duration</a></h4></section><section id="method.weeks" class="method trait-impl"><a class="src rightside" href="../../src/time/ext.rs.html#143-145">source</a><a href="#method.weeks" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.weeks" class="fn">weeks</a>(self) -> <a class="struct" href="../struct.Duration.html" title="struct time::Duration">Duration</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-NumericalDuration-for-i64" class="impl"><a class="src rightside" href="../../src/time/ext.rs.html#80-112">source</a><a href="#impl-NumericalDuration-for-i64" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.NumericalDuration.html" title="trait time::ext::NumericalDuration">NumericalDuration</a> for <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.i64.html">i64</a></h3></section></summary><div class="impl-items"><section id="method.nanoseconds-1" class="method trait-impl"><a class="src rightside" href="../../src/time/ext.rs.html#81-83">source</a><a href="#method.nanoseconds-1" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.nanoseconds" class="fn">nanoseconds</a>(self) -> <a class="struct" href="../struct.Duration.html" title="struct time::Duration">Duration</a></h4></section><section id="method.microseconds-1" class="method trait-impl"><a class="src rightside" href="../../src/time/ext.rs.html#85-87">source</a><a href="#method.microseconds-1" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.microseconds" class="fn">microseconds</a>(self) -> <a class="struct" href="../struct.Duration.html" title="struct time::Duration">Duration</a></h4></section><section id="method.milliseconds-1" class="method trait-impl"><a class="src rightside" href="../../src/time/ext.rs.html#89-91">source</a><a href="#method.milliseconds-1" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.milliseconds" class="fn">milliseconds</a>(self) -> <a class="struct" href="../struct.Duration.html" title="struct time::Duration">Duration</a></h4></section><section id="method.seconds-1" class="method trait-impl"><a class="src rightside" href="../../src/time/ext.rs.html#93-95">source</a><a href="#method.seconds-1" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.seconds" class="fn">seconds</a>(self) -> <a class="struct" href="../struct.Duration.html" title="struct time::Duration">Duration</a></h4></section><section id="method.minutes-1" class="method trait-impl"><a class="src rightside" href="../../src/time/ext.rs.html#97-99">source</a><a href="#method.minutes-1" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.minutes" class="fn">minutes</a>(self) -> <a class="struct" href="../struct.Duration.html" title="struct time::Duration">Duration</a></h4></section><section id="method.hours-1" class="method trait-impl"><a class="src rightside" href="../../src/time/ext.rs.html#101-103">source</a><a href="#method.hours-1" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.hours" class="fn">hours</a>(self) -> <a class="struct" href="../struct.Duration.html" title="struct time::Duration">Duration</a></h4></section><section id="method.days-1" class="method trait-impl"><a class="src rightside" href="../../src/time/ext.rs.html#105-107">source</a><a href="#method.days-1" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.days" class="fn">days</a>(self) -> <a class="struct" href="../struct.Duration.html" title="struct time::Duration">Duration</a></h4></section><section id="method.weeks-1" class="method trait-impl"><a class="src rightside" href="../../src/time/ext.rs.html#109-111">source</a><a href="#method.weeks-1" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.weeks" class="fn">weeks</a>(self) -> <a class="struct" href="../struct.Duration.html" title="struct time::Duration">Duration</a></h4></section></div></details><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"></div><script src="../../trait.impl/time/ext/trait.NumericalDuration.js" data-ignore-extern-crates="std" async></script></section></div></main></body></html> |