}</pre><divclass='docblock'><p>A generic trait for converting a value to a number.</p>
</div>
<h2id='required-methods'>Required Methods</h2>
<divclass='methods'>
<h3id='tymethod.to_i64'class='method'><spanid='to_i64.v'class='invisible'><code>fn <ahref='#tymethod.to_i64'class='fnname'>to_i64</a>(&self) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html"title="enum core::option::Option">Option</a><<aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a>></code></span></h3><divclass='docblock'><p>Converts the value of <code>self</code> to an <code>i64</code>.</p>
</div><h3id='tymethod.to_u64'class='method'><spanid='to_u64.v'class='invisible'><code>fn <ahref='#tymethod.to_u64'class='fnname'>to_u64</a>(&self) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html"title="enum core::option::Option">Option</a><<aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>></code></span></h3><divclass='docblock'><p>Converts the value of <code>self</code> to an <code>u64</code>.</p>
</div></div>
<h2id='provided-methods'>Provided Methods</h2>
<divclass='methods'>
<h3id='method.to_isize'class='method'><spanid='to_isize.v'class='invisible'><code>fn <ahref='#method.to_isize'class='fnname'>to_isize</a>(&self) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html"title="enum core::option::Option">Option</a><<aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a>></code></span></h3><divclass='docblock'><p>Converts the value of <code>self</code> to an <code>isize</code>.</p>
</div><h3id='method.to_i8'class='method'><spanid='to_i8.v'class='invisible'><code>fn <ahref='#method.to_i8'class='fnname'>to_i8</a>(&self) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html"title="enum core::option::Option">Option</a><<aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a>></code></span></h3><divclass='docblock'><p>Converts the value of <code>self</code> to an <code>i8</code>.</p>
</div><h3id='method.to_i16'class='method'><spanid='to_i16.v'class='invisible'><code>fn <ahref='#method.to_i16'class='fnname'>to_i16</a>(&self) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html"title="enum core::option::Option">Option</a><<aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a>></code></span></h3><divclass='docblock'><p>Converts the value of <code>self</code> to an <code>i16</code>.</p>
</div><h3id='method.to_i32'class='method'><spanid='to_i32.v'class='invisible'><code>fn <ahref='#method.to_i32'class='fnname'>to_i32</a>(&self) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html"title="enum core::option::Option">Option</a><<aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>></code></span></h3><divclass='docblock'><p>Converts the value of <code>self</code> to an <code>i32</code>.</p>
</div><h3id='method.to_usize'class='method'><spanid='to_usize.v'class='invisible'><code>fn <ahref='#method.to_usize'class='fnname'>to_usize</a>(&self) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html"title="enum core::option::Option">Option</a><<aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>></code></span></h3><divclass='docblock'><p>Converts the value of <code>self</code> to a <code>usize</code>.</p>
</div><h3id='method.to_u8'class='method'><spanid='to_u8.v'class='invisible'><code>fn <ahref='#method.to_u8'class='fnname'>to_u8</a>(&self) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html"title="enum core::option::Option">Option</a><<aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>></code></span></h3><divclass='docblock'><p>Converts the value of <code>self</code> to an <code>u8</code>.</p>
</div><h3id='method.to_u16'class='method'><spanid='to_u16.v'class='invisible'><code>fn <ahref='#method.to_u16'class='fnname'>to_u16</a>(&self) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html"title="enum core::option::Option">Option</a><<aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>></code></span></h3><divclass='docblock'><p>Converts the value of <code>self</code> to an <code>u16</code>.</p>
</div><h3id='method.to_u32'class='method'><spanid='to_u32.v'class='invisible'><code>fn <ahref='#method.to_u32'class='fnname'>to_u32</a>(&self) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html"title="enum core::option::Option">Option</a><<aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>></code></span></h3><divclass='docblock'><p>Converts the value of <code>self</code> to an <code>u32</code>.</p>
</div><h3id='method.to_f32'class='method'><spanid='to_f32.v'class='invisible'><code>fn <ahref='#method.to_f32'class='fnname'>to_f32</a>(&self) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html"title="enum core::option::Option">Option</a><<aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>></code></span></h3><divclass='docblock'><p>Converts the value of <code>self</code> to an <code>f32</code>.</p>
</div><h3id='method.to_f64'class='method'><spanid='to_f64.v'class='invisible'><code>fn <ahref='#method.to_f64'class='fnname'>to_f64</a>(&self) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html"title="enum core::option::Option">Option</a><<aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>></code></span></h3><divclass='docblock'><p>Converts the value of <code>self</code> to an <code>f64</code>.</p>