|
|
<!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 `AsPrimitive` trait in crate `num`."><meta name="keywords" content="rust, rustlang, rust-lang, AsPrimitive"><title>num::cast::AsPrimitive - Rust</title><link rel="stylesheet" type="text/css" href="../../normalize.css"><link rel="stylesheet" type="text/css" href="../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../dark.css"><link rel="stylesheet" type="text/css" href="../../light.css" id="themeStyle"><script src="../../storage.js"></script><noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="shortcut icon" href="../../favicon.ico"><style type="text/css">#crate-search{background-image:url("../../down-arrow.svg");}</style></head><body class="rustdoc trait"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">☰</div><a href='../../num/index.html'><div class='logo-container'><img src='../../rust-logo.png' alt='logo'></div></a><p class='location'>Trait AsPrimitive</p><div class="sidebar-elems"><div class="block items"><a class="sidebar-title" href="#required-methods">Required Methods</a><div class="sidebar-links"><a href="#tymethod.as_">as_</a></div><a class="sidebar-title" href="#foreign-impls">Implementations on Foreign Types</a><div class="sidebar-links"><a href="#impl-AsPrimitive%3Cchar%3E-for-char">char</a><a href="#impl-AsPrimitive%3Cchar%3E-for-u8">u8</a><a href="#impl-AsPrimitive%3Cf32%3E-for-f32">f32</a><a href="#impl-AsPrimitive%3Cf32%3E-for-f64">f64</a><a href="#impl-AsPrimitive%3Cf32%3E-for-i128">i128</a><a href="#impl-AsPrimitive%3Cf32%3E-for-i16">i16</a><a href="#impl-AsPrimitive%3Cf32%3E-for-i32">i32</a><a href="#impl-AsPrimitive%3Cf32%3E-for-i64">i64</a><a href="#impl-AsPrimitive%3Cf32%3E-for-i8">i8</a><a href="#impl-AsPrimitive%3Cf32%3E-for-isize">isize</a><a href="#impl-AsPrimitive%3Cf32%3E-for-u128">u128</a><a href="#impl-AsPrimitive%3Cf32%3E-for-u16">u16</a><a href="#impl-AsPrimitive%3Cf32%3E-for-u32">u32</a><a href="#impl-AsPrimitive%3Cf32%3E-for-u64">u64</a><a href="#impl-AsPrimitive%3Cf32%3E-for-u8">u8</a><a href="#impl-AsPrimitive%3Cf32%3E-for-usize">usize</a><a href="#impl-AsPrimitive%3Cf64%3E-for-f32">f32</a><a href="#impl-AsPrimitive%3Cf64%3E-for-f64">f64</a><a href="#impl-AsPrimitive%3Cf64%3E-for-i128">i128</a><a href="#impl-AsPrimitive%3Cf64%3E-for-i16">i16</a><a href="#impl-AsPrimitive%3Cf64%3E-for-i32">i32</a><a href="#impl-AsPrimitive%3Cf64%3E-for-i64">i64</a><a href="#impl-AsPrimitive%3Cf64%3E-for-i8">i8</a><a href="#impl-AsPrimitive%3Cf64%3E-for-isize">isize</a><a href="#impl-AsPrimitive%3Cf64%3E-for-u128">u128</a><a href="#impl-AsPrimitive%3Cf64%3E-for-u16">u16</a><a href="#impl-AsPrimitive%3Cf64%3E-for-u32">u32</a><a href="#impl-AsPrimitive%3Cf64%3E-for-u64">u64</a><a href="#impl-AsPrimitive%3Cf64%3E-for-u8">u8</a><a href="#impl-AsPrimitive%3Cf64%3E-for-usize">usize</a><a href="#impl-AsPrimitive%3Ci128%3E-for-bool">bool</a><a href="#impl-AsPrimitive%3Ci128%3E-for-char">char</a><a href="#impl-AsPrimitive%3Ci128%3E-for-f32">f32</a><a href="#impl-AsPrimitive%3Ci128%3E-for-f64">f64</a><a href="#impl-AsPrimitive%3Ci128%3E-for-i128">i128</a><a href="#impl-AsPrimitive%3Ci128%3E-for-i16">i16</a><a href="#impl-AsPrimitive%3Ci128%3E-for-i32">i32</a><a href="#impl-AsPrimitive%3Ci128%3E-for-i64">i64</a><a href="#impl-AsPrimitive%3Ci128%3E-for-i8">i8</a><a href="#impl-AsPrimitive%3Ci128%3E-for-isize">isize</a><a href="#impl-AsPrimitive%3Ci128%3E-for-u128">u128</a><a href="#impl-AsPrimitive%3Ci128%3E-for-u16">u16</a><a href="#impl-AsPrimitive%3Ci128%3E-for-u32">u32</a><a href="#impl-AsPrimitive%3Ci128%3E-for-u64">u64</a><a href="#impl-AsPrimitive%3Ci128%3E-for-u8">u8</a><a href="#impl-AsPrimitive%3Ci128%3E-for-usize">usize</a><a href="#impl-AsPrimitive%3Ci16%3E-for-bool">bool</a><a href="#impl-AsPrimitive%3Ci16%3E-for-char">char</a><a href="#impl-AsPrimitive%3Ci16%3E-for-f32">f32</a><a href="#impl-AsPrimitive%3Ci16%3E-for-f64">f64</a><a href="#impl-AsPrimitive%3Ci16%3E-for-i128">i128</a><a href="#impl-AsPrimitive%3Ci16%3E-for-i16">i16</a><a href="#impl-AsPrimitive%3Ci16%3E-for-i32">i32</a><a href="#impl-AsPrimitive%3Ci16%3E-for-i64">i64</a><a href="#impl-AsPrimitive%3Ci16%3E-for-i8">i8</a><a href="#impl-AsPrimitive%3Ci16%3E-for-isize">isize</a><a href="#impl-AsPrimitive%3Ci16%3E-for-u128">u128</a><a href="#impl-AsPrimitive%3Ci16%3E-for-u16">u16</a><a href="#impl-AsPrimitive%3Ci16%3E-for-u32">u32</a><a href="#impl-AsPrimitive%3Ci16%3E-for-u64">u64</a><a href="#impl-AsPrimitive%3Ci16%3E-for-u8">u8</a><a href="#impl-AsPrimitive%3Ci16%3E-for-usize">usize</a><a href="#impl-AsPrimitive%3Ci32%3E-for-bool">bool</a><a href="#impl-AsPrimitive%3Ci32%3E-for-char">char</a><a href="#impl-AsPrimitive%3Ci32%3E-for-f32">f32</a><a href="#impl-AsPrimitive%3Ci32%3E-for-f64">f64</a><a href="#impl-AsPrimitive%3Ci32%3E-for-i128">i128</a><a href="#impl-AsPrimitive%3Ci32%3E-for-i16">i16</a><a href="#impl-AsPrimitive%3Ci32%3E-for-i32">i32</a><a href="#impl-AsPrimitive%3Ci32%3E-for-i64">i64</a><a href="#impl-AsPrimitive%3Ci32%3E-for-i8">i8</a><a href="#impl-AsPrimitive%3Ci32%3E-for-isize">isize</a><a href="#impl-AsPrimitive%3Ci32%3E-for-u128">u128</a><a href="#impl-AsPrimitive%3Ci32%3E-for-u16">u16</a><a href="#impl-AsPrimitive%3Ci32%3E-for-u32">u32</a><a href="#impl-AsPrimitive%3Ci32%3E-for-u64">u64</a><a href="#impl-AsPrimitive%3Ci32%3E-for-u8">u8</a><a href="#impl-AsPrimitive%3Ci32%3E-for-usize">usize</a><a href="#impl-AsPrimitive%3Ci64%3E-for-bool">bool</a><a href="#impl-AsPrimitive%3Ci64%3E-for-char">char</a><a href="#impl-AsPrimitive%3Ci64%3E-for-f32">f32</a><a href="#impl-AsPrimitive%3Ci64%3E-for-f64">f64</a><a href="#impl-AsPrimitive%3Ci64%3E-for-i128">i128</a><a href="#impl-AsPrimitive%3Ci64%3E-for-i16">i16</a><a href="#impl-AsPrimitive%3Ci64%3E-for-i32">i32</a><a href="#impl-AsPrimitive%3Ci64%3E-for-i64">i64</a><a href="#impl-AsPrimitive%3Ci64%3E-for-i8">i8</a><a href="#impl-AsPrimitive%3Ci64%3E-for-isize">isize</a><a href="#impl-AsPrimitive%3Ci64%3E-for-u128">u128</a><a href="#impl-AsPrimitive%3Ci64%3E-for-u16">u16</a><a href="#impl-AsPrimitive%3Ci64%3E-for-u32">u32</a><a href="#impl-AsPrimitive%3Ci64%3E-for-u64">u64</a><a href="#impl-AsPrimitive%3Ci64%3E-for-u8">u8</a><a href="#impl-AsPrimitive%3Ci64%3E-for-usize">usize</a><a href="#impl-AsPrimitive%3Ci8%3E-for-bool">bool</a><a href="#impl-AsPrimitive%3Ci8%3E-for-char">char</a><a href="#impl-AsPrimitive%3Ci8%3E-for-f32">f32</a><a href="#impl-AsPrimitive%3Ci8%3E-for-f64">f64</a><a href="#impl-AsPrimitive%3Ci8%3E-for-i128">i128</a><a href="#impl-AsPrimitive%3Ci8%3E-for-i16">i16</a><a href="#impl-AsPrimitive%3Ci8%3E-for-i32">i32</a><a href="#impl-AsPrimitive%3Ci8%3E-for-i64">i64</a><a href="#impl-AsPrimitive%3Ci8%3E-for-i8">i8</a><a href="#impl-AsPrimitive%3Ci8%3E-for-isize">isize</a><a href="#impl-AsPrimitive%3Ci8%3E-for-u128">u128</a><a href="#impl-AsPrimitive%3Ci8%3E-for-u16">u16</a><a href="#impl-AsPrimitive%3Ci8%3E-for-u32">u32</a><a href="#impl-AsPrimitive%3Ci8%3E-for-u64">u64</a><a href="#impl-AsPrimitive%3Ci8%3E-for-u8">u8</a><a href="#impl-AsPrimitive%3Ci8%3E-for-usize">usize</a><a href="#impl-AsPrimitive%3Cisize%3E-for-bool">bool</a><a href="#impl-AsPrimitive%3Cisize%3E-for-char">char</a><a href="#impl-AsPrimitive%3Cisize%3E-for-f32">f32</a><a href="#impl-AsPrimitive%3Cisize%3E-for-f64">f64</a><a href="#impl-AsPrimitive%3Cisize%3E-for-i128">i128</a><a href="#impl-AsPrimitive%3Cisize%3E-for-i16">i16</a><a href="#impl-AsPrimitive%3Cisize%3E-for-i32">i32</a><a href="#impl-AsPrimitive%3Cisize%3E-for-i64">i64</a><a href="#impl-AsPrimitive%3Cisize%3E-for-i8">i8</a><a href="#impl-AsPrimitive%3Cisize%3E-for-isize">isize</a><a href="#impl-AsPrimitive%3Cisize%3E-for-u128">u128</a><a href="#impl-AsPrimitive%3Cisize%3E-for-u16">u16</a><a href="#impl-AsPrimitive%3Cisize%3E-for-u32">u32</a><a href="#impl-AsPrimitive%3Cisize%3E-for-u64">u64</a><a href="#impl-AsPrimitive%3Cisize%3E-for-u8">u8</a><a href="#impl-AsPrimitive%3Cisize%3E-for-usize">usize</a><a href="#impl-AsPrimitive%3Cu128%3E-for-bool">bool</a><a href="#impl-AsPrimitive%3Cu128%3E-for-char">char</a><a href="#impl-AsPrimitive%3Cu128%3E-for-f32">f32</a><a href="#impl-AsPrimitive%3Cu128%3E-for-f64">f64</a><a href="#impl-AsPrimitive%3Cu128%3E-for-i128">i128</a><a href="#impl-AsPrimitive%3Cu128%3E-for-i16">i16</a><a href="#impl-AsPrimitive%3Cu128%3E-for-i32">i32</a><a href="#impl-AsPrimitive%3Cu128%3E-for-i64">i64</a><a href="#impl-AsPrimitive%3Cu128%3E-for-i8">i8</a><a href="#impl-AsPrimitive%3Cu128%3E-for-isize">isize</a><a href="#impl-AsPrimitive%3Cu128%3E-for-u128">u128</a><a href="#impl-AsPrimitive%3Cu128%3E-for-u16">u16</a><a href="#impl-AsPrimitive%3Cu128%3E-for-u32">u32</a><a href="#impl-AsPrimitive%3Cu128%3E-for-u64">u64</a><a href="#impl-AsPrimitive%3Cu128%3E-for-u8">u8</a><a href="#impl-AsPrimitive%3Cu128%3E-for-usize">usize</a><a href="#impl-AsPrimitive%3Cu16%3E-for-bool">bool</a><a href="#impl-AsPrimitive%3Cu16%3E-for-char">char</a><a href="#impl-AsPrimitive%3Cu16%3E-for-f32">f32</a><a href="#impl-AsPrimitive%3Cu16%3E-for-f64">f64</a><a href="#impl-AsPrimitive%3Cu16%3E-for-i128">i128</a><a href="#impl-AsPrimitive%3Cu16%3E-for-i16">i16</a><a href="#impl-AsPrimitive%3Cu16%3E-for-i32">i32</a><a href="#impl-AsPrimitive%3Cu16%3E-for-i64">i64</a><a href="#impl-AsPrimitive%3Cu16%3E-for-i8">i8</a><a href="#impl-AsPrimitive%3Cu16%3E-for-isize">isize</a><a href="#impl-AsPrimitive%3Cu16%3E-for-u128">u128</a><a href="#impl-AsPrimitive%3Cu16%3E-for-u16">u16</a><a href="#impl-AsPrimitive%3Cu16%3E-for-u32">u32</a><a href="#impl-AsPrimitive%3Cu16%3E-for-u64">u64</a><a href="#impl-AsPrimitive%3Cu16%3E-for-u8">u8</a><a href="#impl-AsPrimitive%3Cu16%3E-for-usize">usize</a><a href="#impl-AsPrimitive%3Cu32%3E-for-bool">bool</a><a href="#impl-AsPrimitive%3Cu32%3E-for-char">char</a><a href="#impl-AsPrimitive%3Cu32%3E-for-f32">f32</a><a href="#impl-AsPrimitive%3Cu32%3E-for-f64">f64</a><a href="#impl-AsPrimitive%3Cu32%3E-for-i128">i128</a><a href="#impl-AsPrimitive%3Cu32%3E-for-i16">i16</a><a href="#impl-AsPrimitive%3Cu32%3E-for-i32">i32</a><a href="#impl-AsPrimitive%3Cu32%3E-for-i64">i64</a><a href="#impl-AsPrimitive%3Cu32%3E-for-i8">i8</a><a href="#impl-AsPrimitive%3Cu32%3E-for-isize">isize</a><a href="#impl-AsPrimitive%3Cu32%3E-for-u128">u128</a><a href="#impl-AsPrimitive%3Cu32%3E-for-u16">u16</a><a href="#impl-AsPrimitive%3Cu32%3E-for-u32">u32</a><a href="#impl-AsPrimitive%3Cu32%3E-for-u64">u64</a><a href="#impl-AsPrimitive%3Cu32%3E-for-u8">u8</a><a href="#impl-AsPrimitive%3Cu32%3E-for-usize">usize</a><a href="#impl-AsPrimitive%3Cu64%3E-for-bool">bool</a><a href="#impl-AsPrimitive%3Cu64%3E-for-char">char</a><a href="#impl-AsPrimitive%3Cu64%3E-for-f32">f32</a><a href="#impl-AsPrimitive%3Cu64%3E-for-f64">f64</a><a href="#impl-AsPrimitive%3Cu64%3E-for-i128">i128</a><a href="#impl-AsPrimitive%3Cu64%3E-for-i16">i16</a><a href="#impl-AsPrimitive%3Cu64%3E-for-i32">i32</a><a href="#impl-AsPrimitive%3Cu64%3E-for-i64">i64</a><a href="#impl-AsPrimitive%3Cu64%3E-for-i8">i8</a><a href="#impl-AsPrimitive%3Cu64%3E-for-isize">isize</a><a href="#impl-AsPrimitive%3Cu64%3E-for-u128">u128</a><a href="#impl-AsPrimitive%3Cu64%3E-for-u16">u16</a><a href="#impl-AsPrimitive%3Cu64%3E-for-u32">u32</a><a href="#impl-AsPrimitive%3Cu64%3E-for-u64">u64</a><a href="#impl-AsPrimitive%3Cu64%3E-for-u8">u8</a><a href="#impl-AsPrimitive%3Cu64%3E-for-usize">usize</a><a href="#impl-AsPrimitive%3Cu8%3E-for-bool">bool</a><a href="#impl-AsPrimitive%3Cu8%3E-for-char">char</a><a href="#impl-AsPrimitive%3Cu8%3E-for-f32">f32</a><a href="#impl-AsPrimitive%3Cu8%3E-for-f64">f64</a><a href="#impl-AsPrimitive%3Cu8%3E-for-i128">i128</a><a href="#impl-AsPrimitive%3Cu8%3E-for-i16">i16</a><a href="#impl-AsPrimitive%3Cu8%3E-for-i32">i32</a><a href="#impl-AsPrimitive%3Cu8%3E-for-i64">i64</a><a href="#impl-AsPrimitive%3Cu8%3E-for-i8">i8</a><a href="#impl-AsPrimitive%3Cu8%3E-for-isize">isize</a><a href="#impl-AsPrimitive%3Cu8%3E-for-u128">u128</a><a href="#impl-AsPrimitive%3Cu8%3E-for-u16">u16</a><a href="#impl-AsPrimitive%3Cu8%3E-for-u32">u32</a><a href="#impl-AsPrimitive%3Cu8%3E-for-u64">u64</a><a href="#impl-AsPrimitive%3Cu8%3E-for-u8">u8</a><a href="#impl-AsPrimitive%3Cu8%3E-for-usize">usize</a><a href="#impl-AsPrimitive%3Cusize%3E-for-bool">bool</a><a href="#impl-AsPrimitive%3Cusize%3E-for-char">char</a><a href="#impl-AsPrimitive%3Cusize%3E-for-f32">f32</a><a href="#impl-AsPrimitive%3Cusize%3E-for-f64">f64</a><a href="#impl-AsPrimitive%3Cusize%3E-for-i128">i128</a><a href="#impl-AsPrimitive%3Cusize%3E-for-i16">i16</a><a href="#impl-AsPrimitive%3Cusize%3E-for-i32">i32</a><a href="#impl-AsPrimitive%3Cusize%3E-for-i64">i64</a><a href="#impl-AsPrimitive%3Cusize%3E-for-i8">i8</a><a href="#impl-AsPrimitive%3Cusize%3E-for-isize">isize</a><a href="#impl-AsPrimitive%3Cusize%3E-for-u128">u128</a><a href="#impl-AsPrimitive%3Cusize%3E-for-u16">u16</a><a href="#impl-AsPrimitive%3Cusize%3E-for-u32">u32</a><a href="#impl-AsPrimitive%3Cusize%3E-for-u64">u64</a><a href="#impl-AsPrimitive%3Cusize%3E-for-u8">u8</a><a href="#impl-AsPrimitive%3Cusize%3E-for-usize">usize</a></div><a class="sidebar-title" href="#implementors">Implementors</a></div><p class='location'><a href='../index.html'>num</a>::<wbr><a href='index.html'>cast</a></p><script>window.sidebarCurrent = {name: 'AsPrimitive', ty: 'trait', relpath: ''};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../theme.js"></script><nav class="sub"><form class="search-form js-only"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><a id="settings-menu" href="../../settings.html"><img src="../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>−</span>]</a></span><a class='srclink' href='../../src/num_traits/cast.rs.html#718-724' title='goto source code'>[src]</a></span><span class='in-band'>Trait <a href='../index.html'>num</a>::<wbr><a href='index.html'>cast</a>::<wbr><a class="trait" href=''>AsPrimitive</a></span></h1><div class="docblock type-decl hidden-by-usual-hider"><pre class='rust trait'>pub trait AsPrimitive<T>: 'static + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a> <span class="where fmt-newline">where<br> T: 'static + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a>, </span>{
|
|
|
fn <a href='#tymethod.as_' class='fnname'>as_</a>(self) -> T;
|
|
|
}</pre></div><div class='docblock'><p>A generic interface for casting between machine scalars with the
|
|
|
<code>as</code> operator, which admits narrowing and precision loss.
|
|
|
Implementers of this trait AsPrimitive should behave like a primitive
|
|
|
numeric type (e.g. a newtype around another primitive), and the
|
|
|
intended conversion must never fail.</p>
|
|
|
<h1 id="examples" class="section-header"><a href="#examples">Examples</a></h1>
|
|
|
<div class="example-wrap"><pre class="rust rust-example-rendered">
|
|
|
<span class="kw">let</span> <span class="ident">three</span>: <span class="ident">i32</span> <span class="op">=</span> (<span class="number">3.14159265f32</span>).<span class="ident">as_</span>();
|
|
|
<span class="macro">assert_eq</span><span class="macro">!</span>(<span class="ident">three</span>, <span class="number">3</span>);</pre></div>
|
|
|
<h1 id="safety" class="section-header"><a href="#safety">Safety</a></h1>
|
|
|
<p>Currently, some uses of the <code>as</code> operator are not entirely safe.
|
|
|
In particular, it is undefined behavior if:</p>
|
|
|
<ul>
|
|
|
<li>A truncated floating point value cannot fit in the target integer
|
|
|
type (<a href="https://github.com/rust-lang/rust/issues/10184">#10184</a>);</li>
|
|
|
</ul>
|
|
|
|
|
|
<div class='information'><div class='tooltip ignore'>ⓘ<span class='tooltiptext'>This example is not tested</span></div></div><div class="example-wrap"><pre class="rust rust-example-rendered ignore">
|
|
|
<span class="kw">let</span> <span class="ident">x</span>: <span class="ident">u8</span> <span class="op">=</span> (<span class="number">1.04E+17</span>).<span class="ident">as_</span>(); <span class="comment">// UB</span></pre></div>
|
|
|
<ul>
|
|
|
<li>Or a floating point value does not fit in another floating
|
|
|
point type (<a href="https://github.com/rust-lang/rust/issues/15536">#15536</a>).</li>
|
|
|
</ul>
|
|
|
|
|
|
<div class='information'><div class='tooltip ignore'>ⓘ<span class='tooltiptext'>This example is not tested</span></div></div><div class="example-wrap"><pre class="rust rust-example-rendered ignore">
|
|
|
<span class="kw">let</span> <span class="ident">x</span>: <span class="ident">f32</span> <span class="op">=</span> (<span class="number">1e300f64</span>).<span class="ident">as_</span>(); <span class="comment">// UB</span></pre></div>
|
|
|
</div>
|
|
|
<h2 id='required-methods' class='small-section-header'>Required methods<a href='#required-methods' class='anchor'></a></h2><div class='methods'><h3 id='tymethod.as_' class='method'><code id='as_.v'>fn <a href='#tymethod.as_' class='fnname'>as_</a>(self) -> T</code></h3><div class='docblock'><p>Convert a value to another, using the <code>as</code> operator.</p>
|
|
|
</div></div><span class='loading-content'>Loading content...</span>
|
|
|
<h2 id='foreign-impls' class='small-section-header'>Implementations on Foreign Types<a href='#foreign-impls' class='anchor'></a></h2><h3 id='impl-AsPrimitive%3Ci64%3E-for-isize' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a></code><a href='#impl-AsPrimitive%3Ci64%3E-for-isize' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_' class="method hidden"><code id='as_.v-1'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cf64%3E-for-u128' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u128.html">u128</a></code><a href='#impl-AsPrimitive%3Cf64%3E-for-u128' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-1' class="method hidden"><code id='as_.v-2'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Ci32%3E-for-u128' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u128.html">u128</a></code><a href='#impl-AsPrimitive%3Ci32%3E-for-u128' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-2' class="method hidden"><code id='as_.v-3'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cu16%3E-for-u64' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a></code><a href='#impl-AsPrimitive%3Cu16%3E-for-u64' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-3' class="method hidden"><code id='as_.v-4'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cu32%3E-for-i128' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i128.html">i128</a></code><a href='#impl-AsPrimitive%3Cu32%3E-for-i128' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-4' class="method hidden"><code id='as_.v-5'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cu16%3E-for-u8' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a></code><a href='#impl-AsPrimitive%3Cu16%3E-for-u8' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-5' class="method hidden"><code id='as_.v-6'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Ci8%3E-for-u64' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a></code><a href='#impl-AsPrimitive%3Ci8%3E-for-u64' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-6' class="method hidden"><code id='as_.v-7'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Ci16%3E-for-usize' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a></code><a href='#impl-AsPrimitive%3Ci16%3E-for-usize' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-7' class="method hidden"><code id='as_.v-8'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cusize%3E-for-i128' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i128.html">i128</a></code><a href='#impl-AsPrimitive%3Cusize%3E-for-i128' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-8' class="method hidden"><code id='as_.v-9'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cu8%3E-for-i32' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a></code><a href='#impl-AsPrimitive%3Cu8%3E-for-i32' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-9' class="method hidden"><code id='as_.v-10'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cu64%3E-for-i64' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a></code><a href='#impl-AsPrimitive%3Cu64%3E-for-i64' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-10' class="method hidden"><code id='as_.v-11'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cisize%3E-for-char' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.char.html">char</a></code><a href='#impl-AsPrimitive%3Cisize%3E-for-char' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-11' class="method hidden"><code id='as_.v-12'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cu128%3E-for-u8' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u128.html">u128</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a></code><a href='#impl-AsPrimitive%3Cu128%3E-for-u8' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-12' class="method hidden"><code id='as_.v-13'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u128.html">u128</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Ci64%3E-for-usize' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a></code><a href='#impl-AsPrimitive%3Ci64%3E-for-usize' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-13' class="method hidden"><code id='as_.v-14'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cu8%3E-for-f32' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a></code><a href='#impl-AsPrimitive%3Cu8%3E-for-f32' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-14' class="method hidden"><code id='as_.v-15'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cu16%3E-for-char' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.char.html">char</a></code><a href='#impl-AsPrimitive%3Cu16%3E-for-char' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-15' class="method hidden"><code id='as_.v-16'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Ci32%3E-for-u64' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a></code><a href='#impl-AsPrimitive%3Ci32%3E-for-u64' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-16' class="method hidden"><code id='as_.v-17'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cu8%3E-for-u64' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a></code><a href='#impl-AsPrimitive%3Cu8%3E-for-u64' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-17' class="method hidden"><code id='as_.v-18'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cisize%3E-for-i8' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a></code><a href='#impl-AsPrimitive%3Cisize%3E-for-i8' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-18' class="method hidden"><code id='as_.v-19'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Ci64%3E-for-f32' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a></code><a href='#impl-AsPrimitive%3Ci64%3E-for-f32' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-19' class="method hidden"><code id='as_.v-20'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cu32%3E-for-char' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.char.html">char</a></code><a href='#impl-AsPrimitive%3Cu32%3E-for-char' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-20' class="method hidden"><code id='as_.v-21'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cu16%3E-for-i8' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a></code><a href='#impl-AsPrimitive%3Cu16%3E-for-i8' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-21' class="method hidden"><code id='as_.v-22'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Ci16%3E-for-f32' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a></code><a href='#impl-AsPrimitive%3Ci16%3E-for-f32' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-22' class="method hidden"><code id='as_.v-23'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cu8%3E-for-i64' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a></code><a href='#impl-AsPrimitive%3Cu8%3E-for-i64' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-23' class="method hidden"><code id='as_.v-24'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cu32%3E-for-bool' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a href='#impl-AsPrimitive%3Cu32%3E-for-bool' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-24' class="method hidden"><code id='as_.v-25'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Ci16%3E-for-i16' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a></code><a href='#impl-AsPrimitive%3Ci16%3E-for-i16' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-25' class="method hidden"><code id='as_.v-26'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cu32%3E-for-isize' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a></code><a href='#impl-AsPrimitive%3Cu32%3E-for-isize' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-26' class="method hidden"><code id='as_.v-27'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cisize%3E-for-f32' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a></code><a href='#impl-AsPrimitive%3Cisize%3E-for-f32' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-27' class="method hidden"><code id='as_.v-28'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cchar%3E-for-u8' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.char.html">char</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a></code><a href='#impl-AsPrimitive%3Cchar%3E-for-u8' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-28' class="method hidden"><code id='as_.v-29'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.char.html">char</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cu32%3E-for-i16' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a></code><a href='#impl-AsPrimitive%3Cu32%3E-for-i16' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-29' class="method hidden"><code id='as_.v-30'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Ci64%3E-for-i8' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a></code><a href='#impl-AsPrimitive%3Ci64%3E-for-i8' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-30' class="method hidden"><code id='as_.v-31'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Ci16%3E-for-i128' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i128.html">i128</a></code><a href='#impl-AsPrimitive%3Ci16%3E-for-i128' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-31' class="method hidden"><code id='as_.v-32'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cusize%3E-for-i16' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a></code><a href='#impl-AsPrimitive%3Cusize%3E-for-i16' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-32' class="method hidden"><code id='as_.v-33'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cu8%3E-for-u32' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a href='#impl-AsPrimitive%3Cu8%3E-for-u32' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-33' class="method hidden"><code id='as_.v-34'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Ci64%3E-for-u16' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a></code><a href='#impl-AsPrimitive%3Ci64%3E-for-u16' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-34' class="method hidden"><code id='as_.v-35'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cu128%3E-for-i64' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u128.html">u128</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a></code><a href='#impl-AsPrimitive%3Cu128%3E-for-i64' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-35' class="method hidden"><code id='as_.v-36'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u128.html">u128</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Ci8%3E-for-f32' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a></code><a href='#impl-AsPrimitive%3Ci8%3E-for-f32' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-36' class="method hidden"><code id='as_.v-37'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Ci32%3E-for-isize' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a></code><a href='#impl-AsPrimitive%3Ci32%3E-for-isize' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-37' class="method hidden"><code id='as_.v-38'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cusize%3E-for-i8' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a></code><a href='#impl-AsPrimitive%3Cusize%3E-for-i8' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-38' class="method hidden"><code id='as_.v-39'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Ci32%3E-for-char' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.char.html">char</a></code><a href='#impl-AsPrimitive%3Ci32%3E-for-char' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-39' class="method hidden"><code id='as_.v-40'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cf32%3E-for-f64' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a></code><a href='#impl-AsPrimitive%3Cf32%3E-for-f64' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-40' class="method hidden"><code id='as_.v-41'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cu128%3E-for-isize' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u128.html">u128</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a></code><a href='#impl-AsPrimitive%3Cu128%3E-for-isize' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-41' class="method hidden"><code id='as_.v-42'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u128.html">u128</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cu32%3E-for-u16' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a></code><a href='#impl-AsPrimitive%3Cu32%3E-for-u16' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-42' class="method hidden"><code id='as_.v-43'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cu64%3E-for-u64' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a></code><a href='#impl-AsPrimitive%3Cu64%3E-for-u64' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-43' class="method hidden"><code id='as_.v-44'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Ci32%3E-for-f64' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a></code><a href='#impl-AsPrimitive%3Ci32%3E-for-f64' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-44' class="method hidden"><code id='as_.v-45'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cu128%3E-for-u16' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u128.html">u128</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a></code><a href='#impl-AsPrimitive%3Cu128%3E-for-u16' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-45' class="method hidden"><code id='as_.v-46'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u128.html">u128</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cusize%3E-for-f64' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a></code><a href='#impl-AsPrimitive%3Cusize%3E-for-f64' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-46' class="method hidden"><code id='as_.v-47'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cu32%3E-for-usize' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a></code><a href='#impl-AsPrimitive%3Cu32%3E-for-usize' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-47' class="method hidden"><code id='as_.v-48'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cu8%3E-for-bool' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a href='#impl-AsPrimitive%3Cu8%3E-for-bool' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-48' class="method hidden"><code id='as_.v-49'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Ci64%3E-for-u64' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a></code><a href='#impl-AsPrimitive%3Ci64%3E-for-u64' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-49' class="method hidden"><code id='as_.v-50'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Ci128%3E-for-isize' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i128.html">i128</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a></code><a href='#impl-AsPrimitive%3Ci128%3E-for-isize' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-50' class="method hidden"><code id='as_.v-51'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i128.html">i128</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cu128%3E-for-i128' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u128.html">u128</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i128.html">i128</a></code><a href='#impl-AsPrimitive%3Cu128%3E-for-i128' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-51' class="method hidden"><code id='as_.v-52'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u128.html">u128</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cisize%3E-for-u16' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a></code><a href='#impl-AsPrimitive%3Cisize%3E-for-u16' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-52' class="method hidden"><code id='as_.v-53'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Ci32%3E-for-u32' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a href='#impl-AsPrimitive%3Ci32%3E-for-u32' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-53' class="method hidden"><code id='as_.v-54'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Ci128%3E-for-i64' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i128.html">i128</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a></code><a href='#impl-AsPrimitive%3Ci128%3E-for-i64' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-54' class="method hidden"><code id='as_.v-55'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i128.html">i128</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Ci16%3E-for-i32' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a></code><a href='#impl-AsPrimitive%3Ci16%3E-for-i32' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-55' class="method hidden"><code id='as_.v-56'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Ci32%3E-for-i16' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a></code><a href='#impl-AsPrimitive%3Ci32%3E-for-i16' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-56' class="method hidden"><code id='as_.v-57'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Ci64%3E-for-i32' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a></code><a href='#impl-AsPrimitive%3Ci64%3E-for-i32' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-57' class="method hidden"><code id='as_.v-58'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cu64%3E-for-u16' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a></code><a href='#impl-AsPrimitive%3Cu64%3E-for-u16' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-58' class="method hidden"><code id='as_.v-59'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cu16%3E-for-u16' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a></code><a href='#impl-AsPrimitive%3Cu16%3E-for-u16' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-59' class="method hidden"><code id='as_.v-60'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cf64%3E-for-i8' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a></code><a href='#impl-AsPrimitive%3Cf64%3E-for-i8' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-60' class="method hidden"><code id='as_.v-61'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Ci8%3E-for-u32' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a href='#impl-AsPrimitive%3Ci8%3E-for-u32' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-61' class="method hidden"><code id='as_.v-62'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Ci32%3E-for-i8' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a></code><a href='#impl-AsPrimitive%3Ci32%3E-for-i8' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-62' class="method hidden"><code id='as_.v-63'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cu128%3E-for-u64' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u128.html">u128</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a></code><a href='#impl-AsPrimitive%3Cu128%3E-for-u64' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-63' class="method hidden"><code id='as_.v-64'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u128.html">u128</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cf32%3E-for-i8' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a></code><a href='#impl-AsPrimitive%3Cf32%3E-for-i8' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-64' class="method hidden"><code id='as_.v-65'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cu128%3E-for-char' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u128.html">u128</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.char.html">char</a></code><a href='#impl-AsPrimitive%3Cu128%3E-for-char' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-65' class="method hidden"><code id='as_.v-66'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u128.html">u128</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Ci64%3E-for-u32' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a href='#impl-AsPrimitive%3Ci64%3E-for-u32' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-66' class="method hidden"><code id='as_.v-67'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Ci128%3E-for-char' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i128.html">i128</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.char.html">char</a></code><a href='#impl-AsPrimitive%3Ci128%3E-for-char' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-67' class="method hidden"><code id='as_.v-68'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i128.html">i128</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cisize%3E-for-u32' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a href='#impl-AsPrimitive%3Cisize%3E-for-u32' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-68' class="method hidden"><code id='as_.v-69'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cu64%3E-for-char' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.char.html">char</a></code><a href='#impl-AsPrimitive%3Cu64%3E-for-char' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-69' class="method hidden"><code id='as_.v-70'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Ci128%3E-for-u8' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i128.html">i128</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a></code><a href='#impl-AsPrimitive%3Ci128%3E-for-u8' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-70' class="method hidden"><code id='as_.v-71'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i128.html">i128</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cf32%3E-for-u128' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u128.html">u128</a></code><a href='#impl-AsPrimitive%3Cf32%3E-for-u128' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-71' class="method hidden"><code id='as_.v-72'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Ci128%3E-for-i16' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i128.html">i128</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a></code><a href='#impl-AsPrimitive%3Ci128%3E-for-i16' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-72' class="method hidden"><code id='as_.v-73'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i128.html">i128</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Ci16%3E-for-f64' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a></code><a href='#impl-AsPrimitive%3Ci16%3E-for-f64' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-73' class="method hidden"><code id='as_.v-74'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Ci8%3E-for-u16' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a></code><a href='#impl-AsPrimitive%3Ci8%3E-for-u16' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-74' class="method hidden"><code id='as_.v-75'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cu32%3E-for-i32' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a></code><a href='#impl-AsPrimitive%3Cu32%3E-for-i32' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-75' class="method hidden"><code id='as_.v-76'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cchar%3E-for-char' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.char.html">char</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.char.html">char</a></code><a href='#impl-AsPrimitive%3Cchar%3E-for-char' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-76' class="method hidden"><code id='as_.v-77'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.char.html">char</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cusize%3E-for-u64' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a></code><a href='#impl-AsPrimitive%3Cusize%3E-for-u64' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-77' class="method hidden"><code id='as_.v-78'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cf32%3E-for-f32' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a></code><a href='#impl-AsPrimitive%3Cf32%3E-for-f32' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-78' class="method hidden"><code id='as_.v-79'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cisize%3E-for-u128' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u128.html">u128</a></code><a href='#impl-AsPrimitive%3Cisize%3E-for-u128' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-79' class="method hidden"><code id='as_.v-80'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cu64%3E-for-i32' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a></code><a href='#impl-AsPrimitive%3Cu64%3E-for-i32' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-80' class="method hidden"><code id='as_.v-81'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cusize%3E-for-usize' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a></code><a href='#impl-AsPrimitive%3Cusize%3E-for-usize' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-81' class="method hidden"><code id='as_.v-82'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cu8%3E-for-usize' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a></code><a href='#impl-AsPrimitive%3Cu8%3E-for-usize' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-82' class="method hidden"><code id='as_.v-83'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Ci16%3E-for-u32' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a href='#impl-AsPrimitive%3Ci16%3E-for-u32' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-83' class="method hidden"><code id='as_.v-84'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cu8%3E-for-i8' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a></code><a href='#impl-AsPrimitive%3Cu8%3E-for-i8' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-84' class="method hidden"><code id='as_.v-85'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cusize%3E-for-f32' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a></code><a href='#impl-AsPrimitive%3Cusize%3E-for-f32' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-85' class="method hidden"><code id='as_.v-86'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cu8%3E-for-u16' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a></code><a href='#impl-AsPrimitive%3Cu8%3E-for-u16' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-86' class="method hidden"><code id='as_.v-87'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cusize%3E-for-u16' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a></code><a href='#impl-AsPrimitive%3Cusize%3E-for-u16' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-87' class="method hidden"><code id='as_.v-88'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cusize%3E-for-char' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.char.html">char</a></code><a href='#impl-AsPrimitive%3Cusize%3E-for-char' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-88' class="method hidden"><code id='as_.v-89'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cisize%3E-for-i16' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a></code><a href='#impl-AsPrimitive%3Cisize%3E-for-i16' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-89' class="method hidden"><code id='as_.v-90'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Ci32%3E-for-i128' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i128.html">i128</a></code><a href='#impl-AsPrimitive%3Ci32%3E-for-i128' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-90' class="method hidden"><code id='as_.v-91'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cisize%3E-for-u64' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a></code><a href='#impl-AsPrimitive%3Cisize%3E-for-u64' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-91' class="method hidden"><code id='as_.v-92'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cusize%3E-for-bool' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a href='#impl-AsPrimitive%3Cusize%3E-for-bool' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-92' class="method hidden"><code id='as_.v-93'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cu64%3E-for-bool' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a href='#impl-AsPrimitive%3Cu64%3E-for-bool' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-93' class="method hidden"><code id='as_.v-94'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cu128%3E-for-u32' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u128.html">u128</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a href='#impl-AsPrimitive%3Cu128%3E-for-u32' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-94' class="method hidden"><code id='as_.v-95'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u128.html">u128</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cu32%3E-for-u128' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u128.html">u128</a></code><a href='#impl-AsPrimitive%3Cu32%3E-for-u128' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-95' class="method hidden"><code id='as_.v-96'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Ci64%3E-for-i64' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a></code><a href='#impl-AsPrimitive%3Ci64%3E-for-i64' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-96' class="method hidden"><code id='as_.v-97'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Ci16%3E-for-char' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.char.html">char</a></code><a href='#impl-AsPrimitive%3Ci16%3E-for-char' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-97' class="method hidden"><code id='as_.v-98'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cf32%3E-for-i16' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a></code><a href='#impl-AsPrimitive%3Cf32%3E-for-i16' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-98' class="method hidden"><code id='as_.v-99'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Ci8%3E-for-i32' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a></code><a href='#impl-AsPrimitive%3Ci8%3E-for-i32' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-99' class="method hidden"><code id='as_.v-100'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cu64%3E-for-u32' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a href='#impl-AsPrimitive%3Cu64%3E-for-u32' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-100' class="method hidden"><code id='as_.v-101'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Ci64%3E-for-u8' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a></code><a href='#impl-AsPrimitive%3Ci64%3E-for-u8' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-101' class="method hidden"><code id='as_.v-102'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Ci16%3E-for-isize' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a></code><a href='#impl-AsPrimitive%3Ci16%3E-for-isize' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-102' class="method hidden"><code id='as_.v-103'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Ci128%3E-for-f64' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i128.html">i128</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a></code><a href='#impl-AsPrimitive%3Ci128%3E-for-f64' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-103' class="method hidden"><code id='as_.v-104'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i128.html">i128</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cu128%3E-for-usize' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u128.html">u128</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a></code><a href='#impl-AsPrimitive%3Cu128%3E-for-usize' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-104' class="method hidden"><code id='as_.v-105'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u128.html">u128</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cf32%3E-for-u8' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a></code><a href='#impl-AsPrimitive%3Cf32%3E-for-u8' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-105' class="method hidden"><code id='as_.v-106'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cu64%3E-for-u128' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u128.html">u128</a></code><a href='#impl-AsPrimitive%3Cu64%3E-for-u128' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-106' class="method hidden"><code id='as_.v-107'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cu16%3E-for-bool' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a href='#impl-AsPrimitive%3Cu16%3E-for-bool' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-107' class="method hidden"><code id='as_.v-108'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Ci64%3E-for-i128' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i128.html">i128</a></code><a href='#impl-AsPrimitive%3Ci64%3E-for-i128' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-108' class="method hidden"><code id='as_.v-109'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Ci64%3E-for-i16' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a></code><a href='#impl-AsPrimitive%3Ci64%3E-for-i16' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-109' class="method hidden"><code id='as_.v-110'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cusize%3E-for-u8' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a></code><a href='#impl-AsPrimitive%3Cusize%3E-for-u8' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-110' class="method hidden"><code id='as_.v-111'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Ci8%3E-for-u8' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a></code><a href='#impl-AsPrimitive%3Ci8%3E-for-u8' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-111' class="method hidden"><code id='as_.v-112'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cisize%3E-for-bool' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a href='#impl-AsPrimitive%3Cisize%3E-for-bool' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-112' class="method hidden"><code id='as_.v-113'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cisize%3E-for-f64' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a></code><a href='#impl-AsPrimitive%3Cisize%3E-for-f64' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-113' class="method hidden"><code id='as_.v-114'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cu16%3E-for-u128' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u128.html">u128</a></code><a href='#impl-AsPrimitive%3Cu16%3E-for-u128' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-114' class="method hidden"><code id='as_.v-115'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Ci16%3E-for-u64' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a></code><a href='#impl-AsPrimitive%3Ci16%3E-for-u64' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-115' class="method hidden"><code id='as_.v-116'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cu8%3E-for-i16' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a></code><a href='#impl-AsPrimitive%3Cu8%3E-for-i16' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-116' class="method hidden"><code id='as_.v-117'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cf64%3E-for-u8' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a></code><a href='#impl-AsPrimitive%3Cf64%3E-for-u8' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-117' class="method hidden"><code id='as_.v-118'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Ci128%3E-for-bool' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i128.html">i128</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a href='#impl-AsPrimitive%3Ci128%3E-for-bool' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-118' class="method hidden"><code id='as_.v-119'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i128.html">i128</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cusize%3E-for-i64' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a></code><a href='#impl-AsPrimitive%3Cusize%3E-for-i64' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-119' class="method hidden"><code id='as_.v-120'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cu16%3E-for-usize' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a></code><a href='#impl-AsPrimitive%3Cu16%3E-for-usize' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-120' class="method hidden"><code id='as_.v-121'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Ci32%3E-for-i32' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a></code><a href='#impl-AsPrimitive%3Ci32%3E-for-i32' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-121' class="method hidden"><code id='as_.v-122'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cf64%3E-for-f64' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a></code><a href='#impl-AsPrimitive%3Cf64%3E-for-f64' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-122' class="method hidden"><code id='as_.v-123'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Ci64%3E-for-f64' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a></code><a href='#impl-AsPrimitive%3Ci64%3E-for-f64' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-123' class="method hidden"><code id='as_.v-124'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Ci128%3E-for-f32' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i128.html">i128</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a></code><a href='#impl-AsPrimitive%3Ci128%3E-for-f32' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-124' class="method hidden"><code id='as_.v-125'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i128.html">i128</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Ci128%3E-for-u16' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i128.html">i128</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a></code><a href='#impl-AsPrimitive%3Ci128%3E-for-u16' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-125' class="method hidden"><code id='as_.v-126'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i128.html">i128</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cf64%3E-for-f32' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a></code><a href='#impl-AsPrimitive%3Cf64%3E-for-f32' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-126' class="method hidden"><code id='as_.v-127'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cf64%3E-for-usize' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a></code><a href='#impl-AsPrimitive%3Cf64%3E-for-usize' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-127' class="method hidden"><code id='as_.v-128'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Ci128%3E-for-usize' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i128.html">i128</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a></code><a href='#impl-AsPrimitive%3Ci128%3E-for-usize' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-128' class="method hidden"><code id='as_.v-129'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i128.html">i128</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cu32%3E-for-i64' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a></code><a href='#impl-AsPrimitive%3Cu32%3E-for-i64' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-129' class="method hidden"><code id='as_.v-130'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cisize%3E-for-i128' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i128.html">i128</a></code><a href='#impl-AsPrimitive%3Cisize%3E-for-i128' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-130' class="method hidden"><code id='as_.v-131'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cu8%3E-for-f64' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a></code><a href='#impl-AsPrimitive%3Cu8%3E-for-f64' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-131' class="method hidden"><code id='as_.v-132'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Ci32%3E-for-u8' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a></code><a href='#impl-AsPrimitive%3Ci32%3E-for-u8' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-132' class="method hidden"><code id='as_.v-133'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cf32%3E-for-i128' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i128.html">i128</a></code><a href='#impl-AsPrimitive%3Cf32%3E-for-i128' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-133' class="method hidden"><code id='as_.v-134'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cu128%3E-for-i8' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u128.html">u128</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a></code><a href='#impl-AsPrimitive%3Cu128%3E-for-i8' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-134' class="method hidden"><code id='as_.v-135'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u128.html">u128</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Ci32%3E-for-usize' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a></code><a href='#impl-AsPrimitive%3Ci32%3E-for-usize' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-135' class="method hidden"><code id='as_.v-136'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Ci32%3E-for-bool' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a href='#impl-AsPrimitive%3Ci32%3E-for-bool' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-136' class="method hidden"><code id='as_.v-137'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Ci16%3E-for-i64' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a></code><a href='#impl-AsPrimitive%3Ci16%3E-for-i64' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-137' class="method hidden"><code id='as_.v-138'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cu8%3E-for-isize' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a></code><a href='#impl-AsPrimitive%3Cu8%3E-for-isize' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-138' class="method hidden"><code id='as_.v-139'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cusize%3E-for-i32' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a></code><a href='#impl-AsPrimitive%3Cusize%3E-for-i32' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-139' class="method hidden"><code id='as_.v-140'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Ci64%3E-for-u128' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u128.html">u128</a></code><a href='#impl-AsPrimitive%3Ci64%3E-for-u128' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-140' class="method hidden"><code id='as_.v-141'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cu64%3E-for-isize' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a></code><a href='#impl-AsPrimitive%3Cu64%3E-for-isize' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-141' class="method hidden"><code id='as_.v-142'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cu16%3E-for-i16' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a></code><a href='#impl-AsPrimitive%3Cu16%3E-for-i16' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-142' class="method hidden"><code id='as_.v-143'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cu32%3E-for-u32' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a href='#impl-AsPrimitive%3Cu32%3E-for-u32' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-143' class="method hidden"><code id='as_.v-144'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cf32%3E-for-u32' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a href='#impl-AsPrimitive%3Cf32%3E-for-u32' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-144' class="method hidden"><code id='as_.v-145'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cu16%3E-for-f64' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a></code><a href='#impl-AsPrimitive%3Cu16%3E-for-f64' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-145' class="method hidden"><code id='as_.v-146'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Ci128%3E-for-i32' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i128.html">i128</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a></code><a href='#impl-AsPrimitive%3Ci128%3E-for-i32' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-146' class="method hidden"><code id='as_.v-147'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i128.html">i128</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cu16%3E-for-i64' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a></code><a href='#impl-AsPrimitive%3Cu16%3E-for-i64' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-147' class="method hidden"><code id='as_.v-148'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Ci8%3E-for-i128' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i128.html">i128</a></code><a href='#impl-AsPrimitive%3Ci8%3E-for-i128' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-148' class="method hidden"><code id='as_.v-149'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Ci8%3E-for-u128' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u128.html">u128</a></code><a href='#impl-AsPrimitive%3Ci8%3E-for-u128' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-149' class="method hidden"><code id='as_.v-150'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cu8%3E-for-u8' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a></code><a href='#impl-AsPrimitive%3Cu8%3E-for-u8' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-150' class="method hidden"><code id='as_.v-151'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cisize%3E-for-i32' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a></code><a href='#impl-AsPrimitive%3Cisize%3E-for-i32' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-151' class="method hidden"><code id='as_.v-152'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cu128%3E-for-bool' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u128.html">u128</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a href='#impl-AsPrimitive%3Cu128%3E-for-bool' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-152' class="method hidden"><code id='as_.v-153'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u128.html">u128</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Ci8%3E-for-char' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.char.html">char</a></code><a href='#impl-AsPrimitive%3Ci8%3E-for-char' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-153' class="method hidden"><code id='as_.v-154'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Ci32%3E-for-i64' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a></code><a href='#impl-AsPrimitive%3Ci32%3E-for-i64' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-154' class="method hidden"><code id='as_.v-155'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cf32%3E-for-usize' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a></code><a href='#impl-AsPrimitive%3Cf32%3E-for-usize' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-155' class="method hidden"><code id='as_.v-156'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cu64%3E-for-usize' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a></code><a href='#impl-AsPrimitive%3Cu64%3E-for-usize' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-156' class="method hidden"><code id='as_.v-157'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cf64%3E-for-u64' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a></code><a href='#impl-AsPrimitive%3Cf64%3E-for-u64' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-157' class="method hidden"><code id='as_.v-158'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cu32%3E-for-f64' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a></code><a href='#impl-AsPrimitive%3Cu32%3E-for-f64' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-158' class="method hidden"><code id='as_.v-159'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Ci128%3E-for-u128' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i128.html">i128</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u128.html">u128</a></code><a href='#impl-AsPrimitive%3Ci128%3E-for-u128' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-159' class="method hidden"><code id='as_.v-160'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i128.html">i128</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cf64%3E-for-u32' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a href='#impl-AsPrimitive%3Cf64%3E-for-u32' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-160' class="method hidden"><code id='as_.v-161'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Ci32%3E-for-u16' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a></code><a href='#impl-AsPrimitive%3Ci32%3E-for-u16' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-161' class="method hidden"><code id='as_.v-162'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cf64%3E-for-i32' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a></code><a href='#impl-AsPrimitive%3Cf64%3E-for-i32' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-162' class="method hidden"><code id='as_.v-163'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Ci16%3E-for-bool' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a href='#impl-AsPrimitive%3Ci16%3E-for-bool' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-163' class="method hidden"><code id='as_.v-164'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cf32%3E-for-isize' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a></code><a href='#impl-AsPrimitive%3Cf32%3E-for-isize' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-164' class="method hidden"><code id='as_.v-165'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cu128%3E-for-i32' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u128.html">u128</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a></code><a href='#impl-AsPrimitive%3Cu128%3E-for-i32' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-165' class="method hidden"><code id='as_.v-166'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u128.html">u128</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cu8%3E-for-i128' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i128.html">i128</a></code><a href='#impl-AsPrimitive%3Cu8%3E-for-i128' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-166' class="method hidden"><code id='as_.v-167'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cf64%3E-for-isize' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a></code><a href='#impl-AsPrimitive%3Cf64%3E-for-isize' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-167' class="method hidden"><code id='as_.v-168'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cu8%3E-for-u128' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u128.html">u128</a></code><a href='#impl-AsPrimitive%3Cu8%3E-for-u128' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-168' class="method hidden"><code id='as_.v-169'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cusize%3E-for-u32' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a href='#impl-AsPrimitive%3Cusize%3E-for-u32' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-169' class="method hidden"><code id='as_.v-170'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cf64%3E-for-i64' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a></code><a href='#impl-AsPrimitive%3Cf64%3E-for-i64' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-170' class="method hidden"><code id='as_.v-171'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Ci64%3E-for-char' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.char.html">char</a></code><a href='#impl-AsPrimitive%3Ci64%3E-for-char' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-171' class="method hidden"><code id='as_.v-172'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cisize%3E-for-isize' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a></code><a href='#impl-AsPrimitive%3Cisize%3E-for-isize' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-172' class="method hidden"><code id='as_.v-173'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cu32%3E-for-u64' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a></code><a href='#impl-AsPrimitive%3Cu32%3E-for-u64' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-173' class="method hidden"><code id='as_.v-174'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cf32%3E-for-u64' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a></code><a href='#impl-AsPrimitive%3Cf32%3E-for-u64' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-174' class="method hidden"><code id='as_.v-175'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cu128%3E-for-f32' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u128.html">u128</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a></code><a href='#impl-AsPrimitive%3Cu128%3E-for-f32' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-175' class="method hidden"><code id='as_.v-176'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u128.html">u128</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Ci128%3E-for-u32' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i128.html">i128</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a href='#impl-AsPrimitive%3Ci128%3E-for-u32' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-176' class="method hidden"><code id='as_.v-177'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i128.html">i128</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cf32%3E-for-u16' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a></code><a href='#impl-AsPrimitive%3Cf32%3E-for-u16' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-177' class="method hidden"><code id='as_.v-178'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cu32%3E-for-i8' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a></code><a href='#impl-AsPrimitive%3Cu32%3E-for-i8' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-178' class="method hidden"><code id='as_.v-179'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cu128%3E-for-u128' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u128.html">u128</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u128.html">u128</a></code><a href='#impl-AsPrimitive%3Cu128%3E-for-u128' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-179' class="method hidden"><code id='as_.v-180'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u128.html">u128</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Ci16%3E-for-u16' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a></code><a href='#impl-AsPrimitive%3Ci16%3E-for-u16' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-180' class="method hidden"><code id='as_.v-181'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cu8%3E-for-char' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.char.html">char</a></code><a href='#impl-AsPrimitive%3Cu8%3E-for-char' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-181' class="method hidden"><code id='as_.v-182'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cu128%3E-for-i16' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u128.html">u128</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a></code><a href='#impl-AsPrimitive%3Cu128%3E-for-i16' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-182' class="method hidden"><code id='as_.v-183'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u128.html">u128</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Ci8%3E-for-isize' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a></code><a href='#impl-AsPrimitive%3Ci8%3E-for-isize' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-183' class="method hidden"><code id='as_.v-184'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cu64%3E-for-u8' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a></code><a href='#impl-AsPrimitive%3Cu64%3E-for-u8' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-184' class="method hidden"><code id='as_.v-185'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cf32%3E-for-i32' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a></code><a href='#impl-AsPrimitive%3Cf32%3E-for-i32' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-185' class="method hidden"><code id='as_.v-186'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cu64%3E-for-i128' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i128.html">i128</a></code><a href='#impl-AsPrimitive%3Cu64%3E-for-i128' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-186' class="method hidden"><code id='as_.v-187'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cf64%3E-for-i16' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a></code><a href='#impl-AsPrimitive%3Cf64%3E-for-i16' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-187' class="method hidden"><code id='as_.v-188'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Ci8%3E-for-usize' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a></code><a href='#impl-AsPrimitive%3Ci8%3E-for-usize' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-188' class="method hidden"><code id='as_.v-189'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cu64%3E-for-f32' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a></code><a href='#impl-AsPrimitive%3Cu64%3E-for-f32' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-189' class="method hidden"><code id='as_.v-190'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cu64%3E-for-i16' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a></code><a href='#impl-AsPrimitive%3Cu64%3E-for-i16' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-190' class="method hidden"><code id='as_.v-191'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cu32%3E-for-u8' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a></code><a href='#impl-AsPrimitive%3Cu32%3E-for-u8' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-191' class="method hidden"><code id='as_.v-192'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Ci16%3E-for-u8' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a></code><a href='#impl-AsPrimitive%3Ci16%3E-for-u8' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-192' class="method hidden"><code id='as_.v-193'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cu64%3E-for-i8' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a></code><a href='#impl-AsPrimitive%3Cu64%3E-for-i8' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-193' class="method hidden"><code id='as_.v-194'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Ci8%3E-for-bool' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a href='#impl-AsPrimitive%3Ci8%3E-for-bool' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-194' class="method hidden"><code id='as_.v-195'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Ci128%3E-for-i8' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i128.html">i128</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a></code><a href='#impl-AsPrimitive%3Ci128%3E-for-i8' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-195' class="method hidden"><code id='as_.v-196'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i128.html">i128</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cf32%3E-for-i64' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a></code><a href='#impl-AsPrimitive%3Cf32%3E-for-i64' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-196' class="method hidden"><code id='as_.v-197'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cusize%3E-for-u128' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u128.html">u128</a></code><a href='#impl-AsPrimitive%3Cusize%3E-for-u128' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-197' class="method hidden"><code id='as_.v-198'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cu64%3E-for-f64' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a></code><a href='#impl-AsPrimitive%3Cu64%3E-for-f64' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-198' class="method hidden"><code id='as_.v-199'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Ci8%3E-for-i64' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a></code><a href='#impl-AsPrimitive%3Ci8%3E-for-i64' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-199' class="method hidden"><code id='as_.v-200'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cusize%3E-for-isize' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a></code><a href='#impl-AsPrimitive%3Cusize%3E-for-isize' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-200' class="method hidden"><code id='as_.v-201'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Ci64%3E-for-bool' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a href='#impl-AsPrimitive%3Ci64%3E-for-bool' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-201' class="method hidden"><code id='as_.v-202'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cu16%3E-for-isize' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a></code><a href='#impl-AsPrimitive%3Cu16%3E-for-isize' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-202' class="method hidden"><code id='as_.v-203'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Ci128%3E-for-i128' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i128.html">i128</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i128.html">i128</a></code><a href='#impl-AsPrimitive%3Ci128%3E-for-i128' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-203' class="method hidden"><code id='as_.v-204'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i128.html">i128</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cu16%3E-for-u32' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a href='#impl-AsPrimitive%3Cu16%3E-for-u32' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-204' class="method hidden"><code id='as_.v-205'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cu16%3E-for-f32' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a></code><a href='#impl-AsPrimitive%3Cu16%3E-for-f32' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-205' class="method hidden"><code id='as_.v-206'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cu32%3E-for-f32' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a></code><a href='#impl-AsPrimitive%3Cu32%3E-for-f32' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-206' class="method hidden"><code id='as_.v-207'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cisize%3E-for-u8' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a></code><a href='#impl-AsPrimitive%3Cisize%3E-for-u8' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-207' class="method hidden"><code id='as_.v-208'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Ci128%3E-for-u64' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i128.html">i128</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a></code><a href='#impl-AsPrimitive%3Ci128%3E-for-u64' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-208' class="method hidden"><code id='as_.v-209'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i128.html">i128</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Ci8%3E-for-f64' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a></code><a href='#impl-AsPrimitive%3Ci8%3E-for-f64' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-209' class="method hidden"><code id='as_.v-210'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cf64%3E-for-u16' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a></code><a href='#impl-AsPrimitive%3Cf64%3E-for-u16' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-210' class="method hidden"><code id='as_.v-211'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cu16%3E-for-i128' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i128.html">i128</a></code><a href='#impl-AsPrimitive%3Cu16%3E-for-i128' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-211' class="method hidden"><code id='as_.v-212'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cf64%3E-for-i128' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i128.html">i128</a></code><a href='#impl-AsPrimitive%3Cf64%3E-for-i128' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-212' class="method hidden"><code id='as_.v-213'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Ci8%3E-for-i16' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a></code><a href='#impl-AsPrimitive%3Ci8%3E-for-i16' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-213' class="method hidden"><code id='as_.v-214'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Ci16%3E-for-i8' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a></code><a href='#impl-AsPrimitive%3Ci16%3E-for-i8' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-214' class="method hidden"><code id='as_.v-215'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cisize%3E-for-i64' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a></code><a href='#impl-AsPrimitive%3Cisize%3E-for-i64' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-215' class="method hidden"><code id='as_.v-216'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cu16%3E-for-i32' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a></code><a href='#impl-AsPrimitive%3Cu16%3E-for-i32' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-216' class="method hidden"><code id='as_.v-217'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Ci16%3E-for-u128' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u128.html">u128</a></code><a href='#impl-AsPrimitive%3Ci16%3E-for-u128' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-217' class="method hidden"><code id='as_.v-218'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cu128%3E-for-f64' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u128.html">u128</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a></code><a href='#impl-AsPrimitive%3Cu128%3E-for-f64' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-218' class="method hidden"><code id='as_.v-219'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u128.html">u128</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Cisize%3E-for-usize' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a></code><a href='#impl-AsPrimitive%3Cisize%3E-for-usize' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-219' class="method hidden"><code id='as_.v-220'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Ci32%3E-for-f32' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a></code><a href='#impl-AsPrimitive%3Ci32%3E-for-f32' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-220' class="method hidden"><code id='as_.v-221'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><h3 id='impl-AsPrimitive%3Ci8%3E-for-i8' class='impl'><code class='in-band'>impl <a class="trait" href="../../num/traits/cast/trait.AsPrimitive.html" title="trait num::traits::cast::AsPrimitive">AsPrimitive</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a></code><a href='#impl-AsPrimitive%3Ci8%3E-for-i8' class='anchor'></a><a class='srclink' href='../../src/num_traits/cast.rs.html#729-731' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_-221' class="method hidden"><code id='as_.v-222'>fn <a href='#method.as_' class='fnname'>as_</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a></code><a class='srclink' href='../../src/num_traits/cast.rs.html#730' title='goto source code'>[src]</a></h4></div><span class='loading-content'>Loading content...</span>
|
|
|
<h2 id='implementors' class='small-section-header'>Implementors<a href='#implementors' class='anchor'></a></h2><div class='item-list' id='implementors-list'></div><span class='loading-content'>Loading content...</span><script type="text/javascript">window.inlined_types=new Set([]);</script><script type="text/javascript" async
|
|
|
src="../../implementors/num_traits/cast/trait.AsPrimitive.js">
|
|
|
</script></section><section id="search" class="content hidden"></section><section class="footer"></section><aside id="help" class="hidden"><div><h1 class="hidden">Help</h1><div class="shortcuts"><h2>Keyboard Shortcuts</h2><dl><dt><kbd>?</kbd></dt><dd>Show this help dialog</dd><dt><kbd>S</kbd></dt><dd>Focus the search field</dd><dt><kbd>↑</kbd></dt><dd>Move up in search results</dd><dt><kbd>↓</kbd></dt><dd>Move down in search results</dd><dt><kbd>↹</kbd></dt><dd>Switch tab</dd><dt><kbd>⏎</kbd></dt><dd>Go to active search result</dd><dt><kbd>+</kbd></dt><dd>Expand all sections</dd><dt><kbd>-</kbd></dt><dd>Collapse all sections</dd></dl></div><div class="infos"><h2>Search Tricks</h2><p>Prefix searches with a type followed by a colon (e.g., <code>fn:</code>) to restrict the search to a given type.</p><p>Accepted types are: <code>fn</code>, <code>mod</code>, <code>struct</code>, <code>enum</code>, <code>trait</code>, <code>type</code>, <code>macro</code>, and <code>const</code>.</p><p>Search functions by type signature (e.g., <code>vec -> usize</code> or <code>* -> vec</code>)</p><p>Search multiple things at once by splitting your query with comma (e.g., <code>str,u8</code> or <code>String,struct:Vec,test</code>)</p></div></div></aside><script>window.rootPath = "../../";window.currentCrate = "num";</script><script src="../../aliases.js"></script><script src="../../main.js"></script><script defer src="../../search-index.js"></script></body></html> |