Files
google_speech_rs/docs/pyo3/conversion/trait.AsPyPointer.html
T
2021-06-02 05:29:43 +00:00

108 lines
105 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!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="This trait represents that we can do zero-cost conversion from the object to a FFI pointer."><meta name="keywords" content="rust, rustlang, rust-lang, AsPyPointer"><title>pyo3::conversion::AsPyPointer - 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="../../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../../ayu.css" disabled ><script id="default-settings"></script><script src="../../storage.js"></script><script src="../../crates.js"></script><noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../../favicon.svg">
<link rel="alternate icon" type="image/png" href="../../favicon-16x16.png">
<link rel="alternate icon" type="image/png" href="../../favicon-32x32.png"><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" role="button">&#9776;</div><a href='../../pyo3/index.html'><div class='logo-container rust-logo'><img src='../../rust-logo.png' alt='logo'></div></a><p class="location">Trait AsPyPointer</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_ptr">as_ptr</a></div><a class="sidebar-title" href="#foreign-impls">Implementations on Foreign Types</a><div class="sidebar-links"><a href="#impl-AsPyPointer-for-Option%3CT%3E">Option&lt;T&gt;</a></div><a class="sidebar-title" href="#implementors">Implementors</a></div><p class="location"><a href="../index.html">pyo3</a>::<wbr><a href="index.html">conversion</a></p><div id="sidebar-vars" data-name="AsPyPointer" data-ty="trait" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu"><img src="../../brush.svg" width="18" height="18" alt="Pick another theme!"></button><div id="theme-choices" role="menu"></div></div><script src="../../theme.js"></script><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><button type="button" class="help-button">?</button>
<a id="settings-menu" href="../../settings.html"><img src="../../wheel.svg" width="18" height="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Trait <a href="../index.html">pyo3</a>::<wbr><a href="index.html">conversion</a>::<wbr><a class="trait" href="">AsPyPointer</a></span><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">&#x2212;</span>]</a></span><a class="srclink" href="../../src/pyo3/conversion.rs.html#26-29" title="goto source code">[src]</a></span></h1><div class="docblock type-decl hidden-by-usual-hider"><pre class="rust trait">pub trait AsPyPointer {
fn <a href="#tymethod.as_ptr" class="fnname">as_ptr</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../pyo3/ffi/struct.PyObject.html" title="struct pyo3::ffi::PyObject">PyObject</a>;
}</pre></div><div class="docblock"><p>This trait represents that <strong>we can do zero-cost conversion from the object
to a FFI pointer</strong>.</p>
<p>This trait is implemented for types that internally wrap a pointer to a Python object.</p>
<h1 id="example" class="section-header"><a href="#example">Example</a></h1>
<div class="example-wrap"><pre class="rust rust-example-rendered">
<span class="kw">use</span> <span class="ident">pyo3</span>::{<span class="ident">AsPyPointer</span>, <span class="ident">prelude</span>::<span class="kw-2">*</span>};
<span class="kw">let</span> <span class="ident">gil</span> <span class="op">=</span> <span class="ident">Python</span>::<span class="ident">acquire_gil</span>();
<span class="kw">let</span> <span class="ident">dict</span> <span class="op">=</span> <span class="ident">pyo3</span>::<span class="ident">types</span>::<span class="ident">PyDict</span>::<span class="ident">new</span>(<span class="ident">gil</span>.<span class="ident">python</span>());
<span class="comment">// All native object wrappers implement AsPyPointer!!!</span>
<span class="macro">assert_ne</span><span class="macro">!</span>(<span class="ident">dict</span>.<span class="ident">as_ptr</span>(), <span class="ident">std</span>::<span class="ident">ptr</span>::<span class="ident">null_mut</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_ptr" class="method"><code>fn <a href="#tymethod.as_ptr" class="fnname">as_ptr</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../pyo3/ffi/struct.PyObject.html" title="struct pyo3::ffi::PyObject">PyObject</a></code><a class="srclink" href="../../src/pyo3/conversion.rs.html#28" title="goto source code">[src]</a></h3><div class="docblock"><p>Retrieves the underlying FFI pointer (as a borrowed pointer).</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-AsPyPointer-for-Option%3CT%3E" class="impl"><code class="in-band">impl&lt;T&gt; <a class="trait" href="../../pyo3/conversion/trait.AsPyPointer.html" title="trait pyo3::conversion::AsPyPointer">AsPyPointer</a> for <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;T&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="../../pyo3/conversion/trait.AsPyPointer.html" title="trait pyo3::conversion::AsPyPointer">AsPyPointer</a>,&nbsp;</span></code><a href="#impl-AsPyPointer-for-Option%3CT%3E" class="anchor"></a><a class="srclink" href="../../src/pyo3/conversion.rs.html#39-48" title="goto source code">[src]</a></h3><div class="docblock"><p>Convert <code>None</code> into a null pointer.</p>
</div><div class="impl-items"><h4 id="method.as_ptr" class="method hidden"><code>fn <a href="#method.as_ptr" class="fnname">as_ptr</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../pyo3/ffi/struct.PyObject.html" title="struct pyo3::ffi::PyObject">PyObject</a></code><a class="srclink" href="../../src/pyo3/conversion.rs.html#44-47" 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"><h3 id="impl-AsPyPointer" class="impl"><code class="in-band">impl <a class="trait" href="../../pyo3/conversion/trait.AsPyPointer.html" title="trait pyo3::conversion::AsPyPointer">AsPyPointer</a> for <a class="struct" href="../../pyo3/exceptions/asyncio/struct.CancelledError.html" title="struct pyo3::exceptions::asyncio::CancelledError">CancelledError</a></code><a href="#impl-AsPyPointer" class="anchor"></a><a class="srclink" href="../../src/pyo3/exceptions.rs.html#419" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.as_ptr-1" class="method"><code>fn <a href="#method.as_ptr-1" class="fnname">as_ptr</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../pyo3/ffi/struct.PyObject.html" title="struct pyo3::ffi::PyObject">PyObject</a></code><a class="srclink" href="../../src/pyo3/exceptions.rs.html#419" title="goto source code">[src]</a></h4><div class="docblock"><p>Gets the underlying FFI pointer, returns a borrowed pointer.</p>
</div></div><h3 id="impl-AsPyPointer-1" class="impl"><code class="in-band">impl <a class="trait" href="../../pyo3/conversion/trait.AsPyPointer.html" title="trait pyo3::conversion::AsPyPointer">AsPyPointer</a> for <a class="struct" href="../../pyo3/exceptions/asyncio/struct.IncompleteReadError.html" title="struct pyo3::exceptions::asyncio::IncompleteReadError">IncompleteReadError</a></code><a href="#impl-AsPyPointer-1" class="anchor"></a><a class="srclink" href="../../src/pyo3/exceptions.rs.html#422" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.as_ptr-2" class="method"><code>fn <a href="#method.as_ptr-2" class="fnname">as_ptr</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../pyo3/ffi/struct.PyObject.html" title="struct pyo3::ffi::PyObject">PyObject</a></code><a class="srclink" href="../../src/pyo3/exceptions.rs.html#422" title="goto source code">[src]</a></h4><div class="docblock"><p>Gets the underlying FFI pointer, returns a borrowed pointer.</p>
</div></div><h3 id="impl-AsPyPointer-2" class="impl"><code class="in-band">impl <a class="trait" href="../../pyo3/conversion/trait.AsPyPointer.html" title="trait pyo3::conversion::AsPyPointer">AsPyPointer</a> for <a class="struct" href="../../pyo3/exceptions/asyncio/struct.InvalidStateError.html" title="struct pyo3::exceptions::asyncio::InvalidStateError">InvalidStateError</a></code><a href="#impl-AsPyPointer-2" class="anchor"></a><a class="srclink" href="../../src/pyo3/exceptions.rs.html#420" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.as_ptr-3" class="method"><code>fn <a href="#method.as_ptr-3" class="fnname">as_ptr</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../pyo3/ffi/struct.PyObject.html" title="struct pyo3::ffi::PyObject">PyObject</a></code><a class="srclink" href="../../src/pyo3/exceptions.rs.html#420" title="goto source code">[src]</a></h4><div class="docblock"><p>Gets the underlying FFI pointer, returns a borrowed pointer.</p>
</div></div><h3 id="impl-AsPyPointer-3" class="impl"><code class="in-band">impl <a class="trait" href="../../pyo3/conversion/trait.AsPyPointer.html" title="trait pyo3::conversion::AsPyPointer">AsPyPointer</a> for <a class="struct" href="../../pyo3/exceptions/asyncio/struct.LimitOverrunError.html" title="struct pyo3::exceptions::asyncio::LimitOverrunError">LimitOverrunError</a></code><a href="#impl-AsPyPointer-3" class="anchor"></a><a class="srclink" href="../../src/pyo3/exceptions.rs.html#423" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.as_ptr-4" class="method"><code>fn <a href="#method.as_ptr-4" class="fnname">as_ptr</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../pyo3/ffi/struct.PyObject.html" title="struct pyo3::ffi::PyObject">PyObject</a></code><a class="srclink" href="../../src/pyo3/exceptions.rs.html#423" title="goto source code">[src]</a></h4><div class="docblock"><p>Gets the underlying FFI pointer, returns a borrowed pointer.</p>
</div></div><h3 id="impl-AsPyPointer-4" class="impl"><code class="in-band">impl <a class="trait" href="../../pyo3/conversion/trait.AsPyPointer.html" title="trait pyo3::conversion::AsPyPointer">AsPyPointer</a> for <a class="struct" href="../../pyo3/exceptions/asyncio/struct.QueueEmpty.html" title="struct pyo3::exceptions::asyncio::QueueEmpty">QueueEmpty</a></code><a href="#impl-AsPyPointer-4" class="anchor"></a><a class="srclink" href="../../src/pyo3/exceptions.rs.html#424" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.as_ptr-5" class="method"><code>fn <a href="#method.as_ptr-5" class="fnname">as_ptr</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../pyo3/ffi/struct.PyObject.html" title="struct pyo3::ffi::PyObject">PyObject</a></code><a class="srclink" href="../../src/pyo3/exceptions.rs.html#424" title="goto source code">[src]</a></h4><div class="docblock"><p>Gets the underlying FFI pointer, returns a borrowed pointer.</p>
</div></div><h3 id="impl-AsPyPointer-5" class="impl"><code class="in-band">impl <a class="trait" href="../../pyo3/conversion/trait.AsPyPointer.html" title="trait pyo3::conversion::AsPyPointer">AsPyPointer</a> for <a class="struct" href="../../pyo3/exceptions/asyncio/struct.QueueFull.html" title="struct pyo3::exceptions::asyncio::QueueFull">QueueFull</a></code><a href="#impl-AsPyPointer-5" class="anchor"></a><a class="srclink" href="../../src/pyo3/exceptions.rs.html#425" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.as_ptr-6" class="method"><code>fn <a href="#method.as_ptr-6" class="fnname">as_ptr</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../pyo3/ffi/struct.PyObject.html" title="struct pyo3::ffi::PyObject">PyObject</a></code><a class="srclink" href="../../src/pyo3/exceptions.rs.html#425" title="goto source code">[src]</a></h4><div class="docblock"><p>Gets the underlying FFI pointer, returns a borrowed pointer.</p>
</div></div><h3 id="impl-AsPyPointer-6" class="impl"><code class="in-band">impl <a class="trait" href="../../pyo3/conversion/trait.AsPyPointer.html" title="trait pyo3::conversion::AsPyPointer">AsPyPointer</a> for <a class="struct" href="../../pyo3/exceptions/asyncio/struct.TimeoutError.html" title="struct pyo3::exceptions::asyncio::TimeoutError">TimeoutError</a></code><a href="#impl-AsPyPointer-6" class="anchor"></a><a class="srclink" href="../../src/pyo3/exceptions.rs.html#421" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.as_ptr-7" class="method"><code>fn <a href="#method.as_ptr-7" class="fnname">as_ptr</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../pyo3/ffi/struct.PyObject.html" title="struct pyo3::ffi::PyObject">PyObject</a></code><a class="srclink" href="../../src/pyo3/exceptions.rs.html#421" title="goto source code">[src]</a></h4><div class="docblock"><p>Gets the underlying FFI pointer, returns a borrowed pointer.</p>
</div></div><h3 id="impl-AsPyPointer-7" class="impl"><code class="in-band">impl <a class="trait" href="../../pyo3/conversion/trait.AsPyPointer.html" title="trait pyo3::conversion::AsPyPointer">AsPyPointer</a> for <a class="struct" href="../../pyo3/exceptions/socket/struct.gaierror.html" title="struct pyo3::exceptions::socket::gaierror">gaierror</a></code><a href="#impl-AsPyPointer-7" class="anchor"></a><a class="srclink" href="../../src/pyo3/exceptions.rs.html#431" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.as_ptr-8" class="method"><code>fn <a href="#method.as_ptr-8" class="fnname">as_ptr</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../pyo3/ffi/struct.PyObject.html" title="struct pyo3::ffi::PyObject">PyObject</a></code><a class="srclink" href="../../src/pyo3/exceptions.rs.html#431" title="goto source code">[src]</a></h4><div class="docblock"><p>Gets the underlying FFI pointer, returns a borrowed pointer.</p>
</div></div><h3 id="impl-AsPyPointer-8" class="impl"><code class="in-band">impl <a class="trait" href="../../pyo3/conversion/trait.AsPyPointer.html" title="trait pyo3::conversion::AsPyPointer">AsPyPointer</a> for <a class="struct" href="../../pyo3/exceptions/socket/struct.herror.html" title="struct pyo3::exceptions::socket::herror">herror</a></code><a href="#impl-AsPyPointer-8" class="anchor"></a><a class="srclink" href="../../src/pyo3/exceptions.rs.html#430" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.as_ptr-9" class="method"><code>fn <a href="#method.as_ptr-9" class="fnname">as_ptr</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../pyo3/ffi/struct.PyObject.html" title="struct pyo3::ffi::PyObject">PyObject</a></code><a class="srclink" href="../../src/pyo3/exceptions.rs.html#430" title="goto source code">[src]</a></h4><div class="docblock"><p>Gets the underlying FFI pointer, returns a borrowed pointer.</p>
</div></div><h3 id="impl-AsPyPointer-9" class="impl"><code class="in-band">impl <a class="trait" href="../../pyo3/conversion/trait.AsPyPointer.html" title="trait pyo3::conversion::AsPyPointer">AsPyPointer</a> for <a class="struct" href="../../pyo3/exceptions/socket/struct.timeout.html" title="struct pyo3::exceptions::socket::timeout">timeout</a></code><a href="#impl-AsPyPointer-9" class="anchor"></a><a class="srclink" href="../../src/pyo3/exceptions.rs.html#432" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.as_ptr-10" class="method"><code>fn <a href="#method.as_ptr-10" class="fnname">as_ptr</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../pyo3/ffi/struct.PyObject.html" title="struct pyo3::ffi::PyObject">PyObject</a></code><a class="srclink" href="../../src/pyo3/exceptions.rs.html#432" title="goto source code">[src]</a></h4><div class="docblock"><p>Gets the underlying FFI pointer, returns a borrowed pointer.</p>
</div></div><h3 id="impl-AsPyPointer-10" class="impl"><code class="in-band">impl <a class="trait" href="../../pyo3/conversion/trait.AsPyPointer.html" title="trait pyo3::conversion::AsPyPointer">AsPyPointer</a> for <a class="struct" href="../../pyo3/exceptions/struct.PyArithmeticError.html" title="struct pyo3::exceptions::PyArithmeticError">PyArithmeticError</a></code><a href="#impl-AsPyPointer-10" class="anchor"></a><a class="srclink" href="../../src/pyo3/exceptions.rs.html#240" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.as_ptr-11" class="method"><code>fn <a href="#method.as_ptr-11" class="fnname">as_ptr</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../pyo3/ffi/struct.PyObject.html" title="struct pyo3::ffi::PyObject">PyObject</a></code><a class="srclink" href="../../src/pyo3/exceptions.rs.html#240" title="goto source code">[src]</a></h4><div class="docblock"><p>Gets the underlying FFI pointer, returns a borrowed pointer.</p>
</div></div><h3 id="impl-AsPyPointer-11" class="impl"><code class="in-band">impl <a class="trait" href="../../pyo3/conversion/trait.AsPyPointer.html" title="trait pyo3::conversion::AsPyPointer">AsPyPointer</a> for <a class="struct" href="../../pyo3/exceptions/struct.PyAssertionError.html" title="struct pyo3::exceptions::PyAssertionError">PyAssertionError</a></code><a href="#impl-AsPyPointer-11" class="anchor"></a><a class="srclink" href="../../src/pyo3/exceptions.rs.html#243" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.as_ptr-12" class="method"><code>fn <a href="#method.as_ptr-12" class="fnname">as_ptr</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../pyo3/ffi/struct.PyObject.html" title="struct pyo3::ffi::PyObject">PyObject</a></code><a class="srclink" href="../../src/pyo3/exceptions.rs.html#243" title="goto source code">[src]</a></h4><div class="docblock"><p>Gets the underlying FFI pointer, returns a borrowed pointer.</p>
</div></div><h3 id="impl-AsPyPointer-12" class="impl"><code class="in-band">impl <a class="trait" href="../../pyo3/conversion/trait.AsPyPointer.html" title="trait pyo3::conversion::AsPyPointer">AsPyPointer</a> for <a class="struct" href="../../pyo3/exceptions/struct.PyAttributeError.html" title="struct pyo3::exceptions::PyAttributeError">PyAttributeError</a></code><a href="#impl-AsPyPointer-12" class="anchor"></a><a class="srclink" href="../../src/pyo3/exceptions.rs.html#244" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.as_ptr-13" class="method"><code>fn <a href="#method.as_ptr-13" class="fnname">as_ptr</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../pyo3/ffi/struct.PyObject.html" title="struct pyo3::ffi::PyObject">PyObject</a></code><a class="srclink" href="../../src/pyo3/exceptions.rs.html#244" title="goto source code">[src]</a></h4><div class="docblock"><p>Gets the underlying FFI pointer, returns a borrowed pointer.</p>
</div></div><h3 id="impl-AsPyPointer-13" class="impl"><code class="in-band">impl <a class="trait" href="../../pyo3/conversion/trait.AsPyPointer.html" title="trait pyo3::conversion::AsPyPointer">AsPyPointer</a> for <a class="struct" href="../../pyo3/exceptions/struct.PyBaseException.html" title="struct pyo3::exceptions::PyBaseException">PyBaseException</a></code><a href="#impl-AsPyPointer-13" class="anchor"></a><a class="srclink" href="../../src/pyo3/exceptions.rs.html#226" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.as_ptr-14" class="method"><code>fn <a href="#method.as_ptr-14" class="fnname">as_ptr</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../pyo3/ffi/struct.PyObject.html" title="struct pyo3::ffi::PyObject">PyObject</a></code><a class="srclink" href="../../src/pyo3/exceptions.rs.html#226" title="goto source code">[src]</a></h4><div class="docblock"><p>Gets the underlying FFI pointer, returns a borrowed pointer.</p>
</div></div><h3 id="impl-AsPyPointer-14" class="impl"><code class="in-band">impl <a class="trait" href="../../pyo3/conversion/trait.AsPyPointer.html" title="trait pyo3::conversion::AsPyPointer">AsPyPointer</a> for <a class="struct" href="../../pyo3/exceptions/struct.PyBlockingIOError.html" title="struct pyo3::exceptions::PyBlockingIOError">PyBlockingIOError</a></code><a href="#impl-AsPyPointer-14" class="anchor"></a><a class="srclink" href="../../src/pyo3/exceptions.rs.html#326" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.as_ptr-15" class="method"><code>fn <a href="#method.as_ptr-15" class="fnname">as_ptr</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../pyo3/ffi/struct.PyObject.html" title="struct pyo3::ffi::PyObject">PyObject</a></code><a class="srclink" href="../../src/pyo3/exceptions.rs.html#326" title="goto source code">[src]</a></h4><div class="docblock"><p>Gets the underlying FFI pointer, returns a borrowed pointer.</p>
</div></div><h3 id="impl-AsPyPointer-15" class="impl"><code class="in-band">impl <a class="trait" href="../../pyo3/conversion/trait.AsPyPointer.html" title="trait pyo3::conversion::AsPyPointer">AsPyPointer</a> for <a class="struct" href="../../pyo3/exceptions/struct.PyBrokenPipeError.html" title="struct pyo3::exceptions::PyBrokenPipeError">PyBrokenPipeError</a></code><a href="#impl-AsPyPointer-15" class="anchor"></a><a class="srclink" href="../../src/pyo3/exceptions.rs.html#327" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.as_ptr-16" class="method"><code>fn <a href="#method.as_ptr-16" class="fnname">as_ptr</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../pyo3/ffi/struct.PyObject.html" title="struct pyo3::ffi::PyObject">PyObject</a></code><a class="srclink" href="../../src/pyo3/exceptions.rs.html#327" title="goto source code">[src]</a></h4><div class="docblock"><p>Gets the underlying FFI pointer, returns a borrowed pointer.</p>
</div></div><h3 id="impl-AsPyPointer-16" class="impl"><code class="in-band">impl <a class="trait" href="../../pyo3/conversion/trait.AsPyPointer.html" title="trait pyo3::conversion::AsPyPointer">AsPyPointer</a> for <a class="struct" href="../../pyo3/exceptions/struct.PyBufferError.html" title="struct pyo3::exceptions::PyBufferError">PyBufferError</a></code><a href="#impl-AsPyPointer-16" class="anchor"></a><a class="srclink" href="../../src/pyo3/exceptions.rs.html#245" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.as_ptr-17" class="method"><code>fn <a href="#method.as_ptr-17" class="fnname">as_ptr</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../pyo3/ffi/struct.PyObject.html" title="struct pyo3::ffi::PyObject">PyObject</a></code><a class="srclink" href="../../src/pyo3/exceptions.rs.html#245" title="goto source code">[src]</a></h4><div class="docblock"><p>Gets the underlying FFI pointer, returns a borrowed pointer.</p>
</div></div><h3 id="impl-AsPyPointer-17" class="impl"><code class="in-band">impl <a class="trait" href="../../pyo3/conversion/trait.AsPyPointer.html" title="trait pyo3::conversion::AsPyPointer">AsPyPointer</a> for <a class="struct" href="../../pyo3/exceptions/struct.PyChildProcessError.html" title="struct pyo3::exceptions::PyChildProcessError">PyChildProcessError</a></code><a href="#impl-AsPyPointer-17" class="anchor"></a><a class="srclink" href="../../src/pyo3/exceptions.rs.html#328-332" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.as_ptr-18" class="method"><code>fn <a href="#method.as_ptr-18" class="fnname">as_ptr</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../pyo3/ffi/struct.PyObject.html" title="struct pyo3::ffi::PyObject">PyObject</a></code><a class="srclink" href="../../src/pyo3/exceptions.rs.html#328-332" title="goto source code">[src]</a></h4><div class="docblock"><p>Gets the underlying FFI pointer, returns a borrowed pointer.</p>
</div></div><h3 id="impl-AsPyPointer-18" class="impl"><code class="in-band">impl <a class="trait" href="../../pyo3/conversion/trait.AsPyPointer.html" title="trait pyo3::conversion::AsPyPointer">AsPyPointer</a> for <a class="struct" href="../../pyo3/exceptions/struct.PyConnectionAbortedError.html" title="struct pyo3::exceptions::PyConnectionAbortedError">PyConnectionAbortedError</a></code><a href="#impl-AsPyPointer-18" class="anchor"></a><a class="srclink" href="../../src/pyo3/exceptions.rs.html#334-338" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.as_ptr-19" class="method"><code>fn <a href="#method.as_ptr-19" class="fnname">as_ptr</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../pyo3/ffi/struct.PyObject.html" title="struct pyo3::ffi::PyObject">PyObject</a></code><a class="srclink" href="../../src/pyo3/exceptions.rs.html#334-338" title="goto source code">[src]</a></h4><div class="docblock"><p>Gets the underlying FFI pointer, returns a borrowed pointer.</p>
</div></div><h3 id="impl-AsPyPointer-19" class="impl"><code class="in-band">impl <a class="trait" href="../../pyo3/conversion/trait.AsPyPointer.html" title="trait pyo3::conversion::AsPyPointer">AsPyPointer</a> for <a class="struct" href="../../pyo3/exceptions/struct.PyConnectionError.html" title="struct pyo3::exceptions::PyConnectionError">PyConnectionError</a></code><a href="#impl-AsPyPointer-19" class="anchor"></a><a class="srclink" href="../../src/pyo3/exceptions.rs.html#333" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.as_ptr-20" class="method"><code>fn <a href="#method.as_ptr-20" class="fnname">as_ptr</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../pyo3/ffi/struct.PyObject.html" title="struct pyo3::ffi::PyObject">PyObject</a></code><a class="srclink" href="../../src/pyo3/exceptions.rs.html#333" title="goto source code">[src]</a></h4><div class="docblock"><p>Gets the underlying FFI pointer, returns a borrowed pointer.</p>
</div></div><h3 id="impl-AsPyPointer-20" class="impl"><code class="in-band">impl <a class="trait" href="../../pyo3/conversion/trait.AsPyPointer.html" title="trait pyo3::conversion::AsPyPointer">AsPyPointer</a> for <a class="struct" href="../../pyo3/exceptions/struct.PyConnectionRefusedError.html" title="struct pyo3::exceptions::PyConnectionRefusedError">PyConnectionRefusedError</a></code><a href="#impl-AsPyPointer-20" class="anchor"></a><a class="srclink" href="../../src/pyo3/exceptions.rs.html#339-343" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.as_ptr-21" class="method"><code>fn <a href="#method.as_ptr-21" class="fnname">as_ptr</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../pyo3/ffi/struct.PyObject.html" title="struct pyo3::ffi::PyObject">PyObject</a></code><a class="srclink" href="../../src/pyo3/exceptions.rs.html#339-343" title="goto source code">[src]</a></h4><div class="docblock"><p>Gets the underlying FFI pointer, returns a borrowed pointer.</p>
</div></div><h3 id="impl-AsPyPointer-21" class="impl"><code class="in-band">impl <a class="trait" href="../../pyo3/conversion/trait.AsPyPointer.html" title="trait pyo3::conversion::AsPyPointer">AsPyPointer</a> for <a class="struct" href="../../pyo3/exceptions/struct.PyConnectionResetError.html" title="struct pyo3::exceptions::PyConnectionResetError">PyConnectionResetError</a></code><a href="#impl-AsPyPointer-21" class="anchor"></a><a class="srclink" href="../../src/pyo3/exceptions.rs.html#344-348" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.as_ptr-22" class="method"><code>fn <a href="#method.as_ptr-22" class="fnname">as_ptr</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../pyo3/ffi/struct.PyObject.html" title="struct pyo3::ffi::PyObject">PyObject</a></code><a class="srclink" href="../../src/pyo3/exceptions.rs.html#344-348" title="goto source code">[src]</a></h4><div class="docblock"><p>Gets the underlying FFI pointer, returns a borrowed pointer.</p>
</div></div><h3 id="impl-AsPyPointer-22" class="impl"><code class="in-band">impl <a class="trait" href="../../pyo3/conversion/trait.AsPyPointer.html" title="trait pyo3::conversion::AsPyPointer">AsPyPointer</a> for <a class="struct" href="../../pyo3/exceptions/struct.PyEOFError.html" title="struct pyo3::exceptions::PyEOFError">PyEOFError</a></code><a href="#impl-AsPyPointer-22" class="anchor"></a><a class="srclink" href="../../src/pyo3/exceptions.rs.html#246" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.as_ptr-23" class="method"><code>fn <a href="#method.as_ptr-23" class="fnname">as_ptr</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../pyo3/ffi/struct.PyObject.html" title="struct pyo3::ffi::PyObject">PyObject</a></code><a class="srclink" href="../../src/pyo3/exceptions.rs.html#246" title="goto source code">[src]</a></h4><div class="docblock"><p>Gets the underlying FFI pointer, returns a borrowed pointer.</p>
</div></div><h3 id="impl-AsPyPointer-23" class="impl"><code class="in-band">impl <a class="trait" href="../../pyo3/conversion/trait.AsPyPointer.html" title="trait pyo3::conversion::AsPyPointer">AsPyPointer</a> for <a class="struct" href="../../pyo3/exceptions/struct.PyEnvironmentError.html" title="struct pyo3::exceptions::PyEnvironmentError">PyEnvironmentError</a></code><a href="#impl-AsPyPointer-23" class="anchor"></a><a class="srclink" href="../../src/pyo3/exceptions.rs.html#375" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.as_ptr-24" class="method"><code>fn <a href="#method.as_ptr-24" class="fnname">as_ptr</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../pyo3/ffi/struct.PyObject.html" title="struct pyo3::ffi::PyObject">PyObject</a></code><a class="srclink" href="../../src/pyo3/exceptions.rs.html#375" title="goto source code">[src]</a></h4><div class="docblock"><p>Gets the underlying FFI pointer, returns a borrowed pointer.</p>
</div></div><h3 id="impl-AsPyPointer-24" class="impl"><code class="in-band">impl <a class="trait" href="../../pyo3/conversion/trait.AsPyPointer.html" title="trait pyo3::conversion::AsPyPointer">AsPyPointer</a> for <a class="struct" href="../../pyo3/exceptions/struct.PyException.html" title="struct pyo3::exceptions::PyException">PyException</a></code><a href="#impl-AsPyPointer-24" class="anchor"></a><a class="srclink" href="../../src/pyo3/exceptions.rs.html#227" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.as_ptr-25" class="method"><code>fn <a href="#method.as_ptr-25" class="fnname">as_ptr</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../pyo3/ffi/struct.PyObject.html" title="struct pyo3::ffi::PyObject">PyObject</a></code><a class="srclink" href="../../src/pyo3/exceptions.rs.html#227" title="goto source code">[src]</a></h4><div class="docblock"><p>Gets the underlying FFI pointer, returns a borrowed pointer.</p>
</div></div><h3 id="impl-AsPyPointer-25" class="impl"><code class="in-band">impl <a class="trait" href="../../pyo3/conversion/trait.AsPyPointer.html" title="trait pyo3::conversion::AsPyPointer">AsPyPointer</a> for <a class="struct" href="../../pyo3/exceptions/struct.PyFileExistsError.html" title="struct pyo3::exceptions::PyFileExistsError">PyFileExistsError</a></code><a href="#impl-AsPyPointer-25" class="anchor"></a><a class="srclink" href="../../src/pyo3/exceptions.rs.html#349" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.as_ptr-26" class="method"><code>fn <a href="#method.as_ptr-26" class="fnname">as_ptr</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../pyo3/ffi/struct.PyObject.html" title="struct pyo3::ffi::PyObject">PyObject</a></code><a class="srclink" href="../../src/pyo3/exceptions.rs.html#349" title="goto source code">[src]</a></h4><div class="docblock"><p>Gets the underlying FFI pointer, returns a borrowed pointer.</p>
</div></div><h3 id="impl-AsPyPointer-26" class="impl"><code class="in-band">impl <a class="trait" href="../../pyo3/conversion/trait.AsPyPointer.html" title="trait pyo3::conversion::AsPyPointer">AsPyPointer</a> for <a class="struct" href="../../pyo3/exceptions/struct.PyFileNotFoundError.html" title="struct pyo3::exceptions::PyFileNotFoundError">PyFileNotFoundError</a></code><a href="#impl-AsPyPointer-26" class="anchor"></a><a class="srclink" href="../../src/pyo3/exceptions.rs.html#350-354" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.as_ptr-27" class="method"><code>fn <a href="#method.as_ptr-27" class="fnname">as_ptr</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../pyo3/ffi/struct.PyObject.html" title="struct pyo3::ffi::PyObject">PyObject</a></code><a class="srclink" href="../../src/pyo3/exceptions.rs.html#350-354" title="goto source code">[src]</a></h4><div class="docblock"><p>Gets the underlying FFI pointer, returns a borrowed pointer.</p>
</div></div><h3 id="impl-AsPyPointer-27" class="impl"><code class="in-band">impl <a class="trait" href="../../pyo3/conversion/trait.AsPyPointer.html" title="trait pyo3::conversion::AsPyPointer">AsPyPointer</a> for <a class="struct" href="../../pyo3/exceptions/struct.PyFloatingPointError.html" title="struct pyo3::exceptions::PyFloatingPointError">PyFloatingPointError</a></code><a href="#impl-AsPyPointer-27" class="anchor"></a><a class="srclink" href="../../src/pyo3/exceptions.rs.html#247-251" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.as_ptr-28" class="method"><code>fn <a href="#method.as_ptr-28" class="fnname">as_ptr</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../pyo3/ffi/struct.PyObject.html" title="struct pyo3::ffi::PyObject">PyObject</a></code><a class="srclink" href="../../src/pyo3/exceptions.rs.html#247-251" title="goto source code">[src]</a></h4><div class="docblock"><p>Gets the underlying FFI pointer, returns a borrowed pointer.</p>
</div></div><h3 id="impl-AsPyPointer-28" class="impl"><code class="in-band">impl <a class="trait" href="../../pyo3/conversion/trait.AsPyPointer.html" title="trait pyo3::conversion::AsPyPointer">AsPyPointer</a> for <a class="struct" href="../../pyo3/exceptions/struct.PyGeneratorExit.html" title="struct pyo3::exceptions::PyGeneratorExit">PyGeneratorExit</a></code><a href="#impl-AsPyPointer-28" class="anchor"></a><a class="srclink" href="../../src/pyo3/exceptions.rs.html#239" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.as_ptr-29" class="method"><code>fn <a href="#method.as_ptr-29" class="fnname">as_ptr</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../pyo3/ffi/struct.PyObject.html" title="struct pyo3::ffi::PyObject">PyObject</a></code><a class="srclink" href="../../src/pyo3/exceptions.rs.html#239" title="goto source code">[src]</a></h4><div class="docblock"><p>Gets the underlying FFI pointer, returns a borrowed pointer.</p>
</div></div><h3 id="impl-AsPyPointer-29" class="impl"><code class="in-band">impl <a class="trait" href="../../pyo3/conversion/trait.AsPyPointer.html" title="trait pyo3::conversion::AsPyPointer">AsPyPointer</a> for <a class="struct" href="../../pyo3/exceptions/struct.PyIOError.html" title="struct pyo3::exceptions::PyIOError">PyIOError</a></code><a href="#impl-AsPyPointer-29" class="anchor"></a><a class="srclink" href="../../src/pyo3/exceptions.rs.html#377" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.as_ptr-30" class="method"><code>fn <a href="#method.as_ptr-30" class="fnname">as_ptr</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../pyo3/ffi/struct.PyObject.html" title="struct pyo3::ffi::PyObject">PyObject</a></code><a class="srclink" href="../../src/pyo3/exceptions.rs.html#377" title="goto source code">[src]</a></h4><div class="docblock"><p>Gets the underlying FFI pointer, returns a borrowed pointer.</p>
</div></div><h3 id="impl-AsPyPointer-30" class="impl"><code class="in-band">impl <a class="trait" href="../../pyo3/conversion/trait.AsPyPointer.html" title="trait pyo3::conversion::AsPyPointer">AsPyPointer</a> for <a class="struct" href="../../pyo3/exceptions/struct.PyImportError.html" title="struct pyo3::exceptions::PyImportError">PyImportError</a></code><a href="#impl-AsPyPointer-30" class="anchor"></a><a class="srclink" href="../../src/pyo3/exceptions.rs.html#253" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.as_ptr-31" class="method"><code>fn <a href="#method.as_ptr-31" class="fnname">as_ptr</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../pyo3/ffi/struct.PyObject.html" title="struct pyo3::ffi::PyObject">PyObject</a></code><a class="srclink" href="../../src/pyo3/exceptions.rs.html#253" title="goto source code">[src]</a></h4><div class="docblock"><p>Gets the underlying FFI pointer, returns a borrowed pointer.</p>
</div></div><h3 id="impl-AsPyPointer-31" class="impl"><code class="in-band">impl <a class="trait" href="../../pyo3/conversion/trait.AsPyPointer.html" title="trait pyo3::conversion::AsPyPointer">AsPyPointer</a> for <a class="struct" href="../../pyo3/exceptions/struct.PyIndexError.html" title="struct pyo3::exceptions::PyIndexError">PyIndexError</a></code><a href="#impl-AsPyPointer-31" class="anchor"></a><a class="srclink" href="../../src/pyo3/exceptions.rs.html#261" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.as_ptr-32" class="method"><code>fn <a href="#method.as_ptr-32" class="fnname">as_ptr</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../pyo3/ffi/struct.PyObject.html" title="struct pyo3::ffi::PyObject">PyObject</a></code><a class="srclink" href="../../src/pyo3/exceptions.rs.html#261" title="goto source code">[src]</a></h4><div class="docblock"><p>Gets the underlying FFI pointer, returns a borrowed pointer.</p>
</div></div><h3 id="impl-AsPyPointer-32" class="impl"><code class="in-band">impl <a class="trait" href="../../pyo3/conversion/trait.AsPyPointer.html" title="trait pyo3::conversion::AsPyPointer">AsPyPointer</a> for <a class="struct" href="../../pyo3/exceptions/struct.PyInterruptedError.html" title="struct pyo3::exceptions::PyInterruptedError">PyInterruptedError</a></code><a href="#impl-AsPyPointer-32" class="anchor"></a><a class="srclink" href="../../src/pyo3/exceptions.rs.html#355" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.as_ptr-33" class="method"><code>fn <a href="#method.as_ptr-33" class="fnname">as_ptr</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../pyo3/ffi/struct.PyObject.html" title="struct pyo3::ffi::PyObject">PyObject</a></code><a class="srclink" href="../../src/pyo3/exceptions.rs.html#355" title="goto source code">[src]</a></h4><div class="docblock"><p>Gets the underlying FFI pointer, returns a borrowed pointer.</p>
</div></div><h3 id="impl-AsPyPointer-33" class="impl"><code class="in-band">impl <a class="trait" href="../../pyo3/conversion/trait.AsPyPointer.html" title="trait pyo3::conversion::AsPyPointer">AsPyPointer</a> for <a class="struct" href="../../pyo3/exceptions/struct.PyIsADirectoryError.html" title="struct pyo3::exceptions::PyIsADirectoryError">PyIsADirectoryError</a></code><a href="#impl-AsPyPointer-33" class="anchor"></a><a class="srclink" href="../../src/pyo3/exceptions.rs.html#356-360" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.as_ptr-34" class="method"><code>fn <a href="#method.as_ptr-34" class="fnname">as_ptr</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../pyo3/ffi/struct.PyObject.html" title="struct pyo3::ffi::PyObject">PyObject</a></code><a class="srclink" href="../../src/pyo3/exceptions.rs.html#356-360" title="goto source code">[src]</a></h4><div class="docblock"><p>Gets the underlying FFI pointer, returns a borrowed pointer.</p>
</div></div><h3 id="impl-AsPyPointer-34" class="impl"><code class="in-band">impl <a class="trait" href="../../pyo3/conversion/trait.AsPyPointer.html" title="trait pyo3::conversion::AsPyPointer">AsPyPointer</a> for <a class="struct" href="../../pyo3/exceptions/struct.PyKeyError.html" title="struct pyo3::exceptions::PyKeyError">PyKeyError</a></code><a href="#impl-AsPyPointer-34" class="anchor"></a><a class="srclink" href="../../src/pyo3/exceptions.rs.html#262" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.as_ptr-35" class="method"><code>fn <a href="#method.as_ptr-35" class="fnname">as_ptr</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../pyo3/ffi/struct.PyObject.html" title="struct pyo3::ffi::PyObject">PyObject</a></code><a class="srclink" href="../../src/pyo3/exceptions.rs.html#262" title="goto source code">[src]</a></h4><div class="docblock"><p>Gets the underlying FFI pointer, returns a borrowed pointer.</p>
</div></div><h3 id="impl-AsPyPointer-35" class="impl"><code class="in-band">impl <a class="trait" href="../../pyo3/conversion/trait.AsPyPointer.html" title="trait pyo3::conversion::AsPyPointer">AsPyPointer</a> for <a class="struct" href="../../pyo3/exceptions/struct.PyKeyboardInterrupt.html" title="struct pyo3::exceptions::PyKeyboardInterrupt">PyKeyboardInterrupt</a></code><a href="#impl-AsPyPointer-35" class="anchor"></a><a class="srclink" href="../../src/pyo3/exceptions.rs.html#263-267" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.as_ptr-36" class="method"><code>fn <a href="#method.as_ptr-36" class="fnname">as_ptr</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../pyo3/ffi/struct.PyObject.html" title="struct pyo3::ffi::PyObject">PyObject</a></code><a class="srclink" href="../../src/pyo3/exceptions.rs.html#263-267" title="goto source code">[src]</a></h4><div class="docblock"><p>Gets the underlying FFI pointer, returns a borrowed pointer.</p>
</div></div><h3 id="impl-AsPyPointer-36" class="impl"><code class="in-band">impl <a class="trait" href="../../pyo3/conversion/trait.AsPyPointer.html" title="trait pyo3::conversion::AsPyPointer">AsPyPointer</a> for <a class="struct" href="../../pyo3/exceptions/struct.PyLookupError.html" title="struct pyo3::exceptions::PyLookupError">PyLookupError</a></code><a href="#impl-AsPyPointer-36" class="anchor"></a><a class="srclink" href="../../src/pyo3/exceptions.rs.html#241" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.as_ptr-37" class="method"><code>fn <a href="#method.as_ptr-37" class="fnname">as_ptr</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../pyo3/ffi/struct.PyObject.html" title="struct pyo3::ffi::PyObject">PyObject</a></code><a class="srclink" href="../../src/pyo3/exceptions.rs.html#241" title="goto source code">[src]</a></h4><div class="docblock"><p>Gets the underlying FFI pointer, returns a borrowed pointer.</p>
</div></div><h3 id="impl-AsPyPointer-37" class="impl"><code class="in-band">impl <a class="trait" href="../../pyo3/conversion/trait.AsPyPointer.html" title="trait pyo3::conversion::AsPyPointer">AsPyPointer</a> for <a class="struct" href="../../pyo3/exceptions/struct.PyMemoryError.html" title="struct pyo3::exceptions::PyMemoryError">PyMemoryError</a></code><a href="#impl-AsPyPointer-37" class="anchor"></a><a class="srclink" href="../../src/pyo3/exceptions.rs.html#268" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.as_ptr-38" class="method"><code>fn <a href="#method.as_ptr-38" class="fnname">as_ptr</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../pyo3/ffi/struct.PyObject.html" title="struct pyo3::ffi::PyObject">PyObject</a></code><a class="srclink" href="../../src/pyo3/exceptions.rs.html#268" title="goto source code">[src]</a></h4><div class="docblock"><p>Gets the underlying FFI pointer, returns a borrowed pointer.</p>
</div></div><h3 id="impl-AsPyPointer-38" class="impl"><code class="in-band">impl <a class="trait" href="../../pyo3/conversion/trait.AsPyPointer.html" title="trait pyo3::conversion::AsPyPointer">AsPyPointer</a> for <a class="struct" href="../../pyo3/exceptions/struct.PyModuleNotFoundError.html" title="struct pyo3::exceptions::PyModuleNotFoundError">PyModuleNotFoundError</a></code><a href="#impl-AsPyPointer-38" class="anchor"></a><a class="srclink" href="../../src/pyo3/exceptions.rs.html#255-259" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.as_ptr-39" class="method"><code>fn <a href="#method.as_ptr-39" class="fnname">as_ptr</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../pyo3/ffi/struct.PyObject.html" title="struct pyo3::ffi::PyObject">PyObject</a></code><a class="srclink" href="../../src/pyo3/exceptions.rs.html#255-259" title="goto source code">[src]</a></h4><div class="docblock"><p>Gets the underlying FFI pointer, returns a borrowed pointer.</p>
</div></div><h3 id="impl-AsPyPointer-39" class="impl"><code class="in-band">impl <a class="trait" href="../../pyo3/conversion/trait.AsPyPointer.html" title="trait pyo3::conversion::AsPyPointer">AsPyPointer</a> for <a class="struct" href="../../pyo3/exceptions/struct.PyNameError.html" title="struct pyo3::exceptions::PyNameError">PyNameError</a></code><a href="#impl-AsPyPointer-39" class="anchor"></a><a class="srclink" href="../../src/pyo3/exceptions.rs.html#269" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.as_ptr-40" class="method"><code>fn <a href="#method.as_ptr-40" class="fnname">as_ptr</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../pyo3/ffi/struct.PyObject.html" title="struct pyo3::ffi::PyObject">PyObject</a></code><a class="srclink" href="../../src/pyo3/exceptions.rs.html#269" title="goto source code">[src]</a></h4><div class="docblock"><p>Gets the underlying FFI pointer, returns a borrowed pointer.</p>
</div></div><h3 id="impl-AsPyPointer-40" class="impl"><code class="in-band">impl <a class="trait" href="../../pyo3/conversion/trait.AsPyPointer.html" title="trait pyo3::conversion::AsPyPointer">AsPyPointer</a> for <a class="struct" href="../../pyo3/exceptions/struct.PyNotADirectoryError.html" title="struct pyo3::exceptions::PyNotADirectoryError">PyNotADirectoryError</a></code><a href="#impl-AsPyPointer-40" class="anchor"></a><a class="srclink" href="../../src/pyo3/exceptions.rs.html#361-365" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.as_ptr-41" class="method"><code>fn <a href="#method.as_ptr-41" class="fnname">as_ptr</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../pyo3/ffi/struct.PyObject.html" title="struct pyo3::ffi::PyObject">PyObject</a></code><a class="srclink" href="../../src/pyo3/exceptions.rs.html#361-365" title="goto source code">[src]</a></h4><div class="docblock"><p>Gets the underlying FFI pointer, returns a borrowed pointer.</p>
</div></div><h3 id="impl-AsPyPointer-41" class="impl"><code class="in-band">impl <a class="trait" href="../../pyo3/conversion/trait.AsPyPointer.html" title="trait pyo3::conversion::AsPyPointer">AsPyPointer</a> for <a class="struct" href="../../pyo3/exceptions/struct.PyNotImplementedError.html" title="struct pyo3::exceptions::PyNotImplementedError">PyNotImplementedError</a></code><a href="#impl-AsPyPointer-41" class="anchor"></a><a class="srclink" href="../../src/pyo3/exceptions.rs.html#273-277" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.as_ptr-42" class="method"><code>fn <a href="#method.as_ptr-42" class="fnname">as_ptr</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../pyo3/ffi/struct.PyObject.html" title="struct pyo3::ffi::PyObject">PyObject</a></code><a class="srclink" href="../../src/pyo3/exceptions.rs.html#273-277" title="goto source code">[src]</a></h4><div class="docblock"><p>Gets the underlying FFI pointer, returns a borrowed pointer.</p>
</div></div><h3 id="impl-AsPyPointer-42" class="impl"><code class="in-band">impl <a class="trait" href="../../pyo3/conversion/trait.AsPyPointer.html" title="trait pyo3::conversion::AsPyPointer">AsPyPointer</a> for <a class="struct" href="../../pyo3/exceptions/struct.PyOSError.html" title="struct pyo3::exceptions::PyOSError">PyOSError</a></code><a href="#impl-AsPyPointer-42" class="anchor"></a><a class="srclink" href="../../src/pyo3/exceptions.rs.html#252" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.as_ptr-43" class="method"><code>fn <a href="#method.as_ptr-43" class="fnname">as_ptr</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../pyo3/ffi/struct.PyObject.html" title="struct pyo3::ffi::PyObject">PyObject</a></code><a class="srclink" href="../../src/pyo3/exceptions.rs.html#252" title="goto source code">[src]</a></h4><div class="docblock"><p>Gets the underlying FFI pointer, returns a borrowed pointer.</p>
</div></div><h3 id="impl-AsPyPointer-43" class="impl"><code class="in-band">impl <a class="trait" href="../../pyo3/conversion/trait.AsPyPointer.html" title="trait pyo3::conversion::AsPyPointer">AsPyPointer</a> for <a class="struct" href="../../pyo3/exceptions/struct.PyOverflowError.html" title="struct pyo3::exceptions::PyOverflowError">PyOverflowError</a></code><a href="#impl-AsPyPointer-43" class="anchor"></a><a class="srclink" href="../../src/pyo3/exceptions.rs.html#270" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.as_ptr-44" class="method"><code>fn <a href="#method.as_ptr-44" class="fnname">as_ptr</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../pyo3/ffi/struct.PyObject.html" title="struct pyo3::ffi::PyObject">PyObject</a></code><a class="srclink" href="../../src/pyo3/exceptions.rs.html#270" title="goto source code">[src]</a></h4><div class="docblock"><p>Gets the underlying FFI pointer, returns a borrowed pointer.</p>
</div></div><h3 id="impl-AsPyPointer-44" class="impl"><code class="in-band">impl <a class="trait" href="../../pyo3/conversion/trait.AsPyPointer.html" title="trait pyo3::conversion::AsPyPointer">AsPyPointer</a> for <a class="struct" href="../../pyo3/exceptions/struct.PyPermissionError.html" title="struct pyo3::exceptions::PyPermissionError">PyPermissionError</a></code><a href="#impl-AsPyPointer-44" class="anchor"></a><a class="srclink" href="../../src/pyo3/exceptions.rs.html#366" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.as_ptr-45" class="method"><code>fn <a href="#method.as_ptr-45" class="fnname">as_ptr</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../pyo3/ffi/struct.PyObject.html" title="struct pyo3::ffi::PyObject">PyObject</a></code><a class="srclink" href="../../src/pyo3/exceptions.rs.html#366" title="goto source code">[src]</a></h4><div class="docblock"><p>Gets the underlying FFI pointer, returns a borrowed pointer.</p>
</div></div><h3 id="impl-AsPyPointer-45" class="impl"><code class="in-band">impl <a class="trait" href="../../pyo3/conversion/trait.AsPyPointer.html" title="trait pyo3::conversion::AsPyPointer">AsPyPointer</a> for <a class="struct" href="../../pyo3/exceptions/struct.PyProcessLookupError.html" title="struct pyo3::exceptions::PyProcessLookupError">PyProcessLookupError</a></code><a href="#impl-AsPyPointer-45" class="anchor"></a><a class="srclink" href="../../src/pyo3/exceptions.rs.html#367-371" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.as_ptr-46" class="method"><code>fn <a href="#method.as_ptr-46" class="fnname">as_ptr</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../pyo3/ffi/struct.PyObject.html" title="struct pyo3::ffi::PyObject">PyObject</a></code><a class="srclink" href="../../src/pyo3/exceptions.rs.html#367-371" title="goto source code">[src]</a></h4><div class="docblock"><p>Gets the underlying FFI pointer, returns a borrowed pointer.</p>
</div></div><h3 id="impl-AsPyPointer-46" class="impl"><code class="in-band">impl <a class="trait" href="../../pyo3/conversion/trait.AsPyPointer.html" title="trait pyo3::conversion::AsPyPointer">AsPyPointer</a> for <a class="struct" href="../../pyo3/exceptions/struct.PyRecursionError.html" title="struct pyo3::exceptions::PyRecursionError">PyRecursionError</a></code><a href="#impl-AsPyPointer-46" class="anchor"></a><a class="srclink" href="../../src/pyo3/exceptions.rs.html#272" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.as_ptr-47" class="method"><code>fn <a href="#method.as_ptr-47" class="fnname">as_ptr</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../pyo3/ffi/struct.PyObject.html" title="struct pyo3::ffi::PyObject">PyObject</a></code><a class="srclink" href="../../src/pyo3/exceptions.rs.html#272" title="goto source code">[src]</a></h4><div class="docblock"><p>Gets the underlying FFI pointer, returns a borrowed pointer.</p>
</div></div><h3 id="impl-AsPyPointer-47" class="impl"><code class="in-band">impl <a class="trait" href="../../pyo3/conversion/trait.AsPyPointer.html" title="trait pyo3::conversion::AsPyPointer">AsPyPointer</a> for <a class="struct" href="../../pyo3/exceptions/struct.PyReferenceError.html" title="struct pyo3::exceptions::PyReferenceError">PyReferenceError</a></code><a href="#impl-AsPyPointer-47" class="anchor"></a><a class="srclink" href="../../src/pyo3/exceptions.rs.html#284" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.as_ptr-48" class="method"><code>fn <a href="#method.as_ptr-48" class="fnname">as_ptr</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../pyo3/ffi/struct.PyObject.html" title="struct pyo3::ffi::PyObject">PyObject</a></code><a class="srclink" href="../../src/pyo3/exceptions.rs.html#284" title="goto source code">[src]</a></h4><div class="docblock"><p>Gets the underlying FFI pointer, returns a borrowed pointer.</p>
</div></div><h3 id="impl-AsPyPointer-48" class="impl"><code class="in-band">impl <a class="trait" href="../../pyo3/conversion/trait.AsPyPointer.html" title="trait pyo3::conversion::AsPyPointer">AsPyPointer</a> for <a class="struct" href="../../pyo3/exceptions/struct.PyRuntimeError.html" title="struct pyo3::exceptions::PyRuntimeError">PyRuntimeError</a></code><a href="#impl-AsPyPointer-48" class="anchor"></a><a class="srclink" href="../../src/pyo3/exceptions.rs.html#271" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.as_ptr-49" class="method"><code>fn <a href="#method.as_ptr-49" class="fnname">as_ptr</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../pyo3/ffi/struct.PyObject.html" title="struct pyo3::ffi::PyObject">PyObject</a></code><a class="srclink" href="../../src/pyo3/exceptions.rs.html#271" title="goto source code">[src]</a></h4><div class="docblock"><p>Gets the underlying FFI pointer, returns a borrowed pointer.</p>
</div></div><h3 id="impl-AsPyPointer-49" class="impl"><code class="in-band">impl <a class="trait" href="../../pyo3/conversion/trait.AsPyPointer.html" title="trait pyo3::conversion::AsPyPointer">AsPyPointer</a> for <a class="struct" href="../../pyo3/exceptions/struct.PyStopAsyncIteration.html" title="struct pyo3::exceptions::PyStopAsyncIteration">PyStopAsyncIteration</a></code><a href="#impl-AsPyPointer-49" class="anchor"></a><a class="srclink" href="../../src/pyo3/exceptions.rs.html#228-232" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.as_ptr-50" class="method"><code>fn <a href="#method.as_ptr-50" class="fnname">as_ptr</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../pyo3/ffi/struct.PyObject.html" title="struct pyo3::ffi::PyObject">PyObject</a></code><a class="srclink" href="../../src/pyo3/exceptions.rs.html#228-232" title="goto source code">[src]</a></h4><div class="docblock"><p>Gets the underlying FFI pointer, returns a borrowed pointer.</p>
</div></div><h3 id="impl-AsPyPointer-50" class="impl"><code class="in-band">impl <a class="trait" href="../../pyo3/conversion/trait.AsPyPointer.html" title="trait pyo3::conversion::AsPyPointer">AsPyPointer</a> for <a class="struct" href="../../pyo3/exceptions/struct.PyStopIteration.html" title="struct pyo3::exceptions::PyStopIteration">PyStopIteration</a></code><a href="#impl-AsPyPointer-50" class="anchor"></a><a class="srclink" href="../../src/pyo3/exceptions.rs.html#233-238" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.as_ptr-51" class="method"><code>fn <a href="#method.as_ptr-51" class="fnname">as_ptr</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../pyo3/ffi/struct.PyObject.html" title="struct pyo3::ffi::PyObject">PyObject</a></code><a class="srclink" href="../../src/pyo3/exceptions.rs.html#233-238" title="goto source code">[src]</a></h4><div class="docblock"><p>Gets the underlying FFI pointer, returns a borrowed pointer.</p>
</div></div><h3 id="impl-AsPyPointer-51" class="impl"><code class="in-band">impl <a class="trait" href="../../pyo3/conversion/trait.AsPyPointer.html" title="trait pyo3::conversion::AsPyPointer">AsPyPointer</a> for <a class="struct" href="../../pyo3/exceptions/struct.PySyntaxError.html" title="struct pyo3::exceptions::PySyntaxError">PySyntaxError</a></code><a href="#impl-AsPyPointer-51" class="anchor"></a><a class="srclink" href="../../src/pyo3/exceptions.rs.html#278-283" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.as_ptr-52" class="method"><code>fn <a href="#method.as_ptr-52" class="fnname">as_ptr</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../pyo3/ffi/struct.PyObject.html" title="struct pyo3::ffi::PyObject">PyObject</a></code><a class="srclink" href="../../src/pyo3/exceptions.rs.html#278-283" title="goto source code">[src]</a></h4><div class="docblock"><p>Gets the underlying FFI pointer, returns a borrowed pointer.</p>
</div></div><h3 id="impl-AsPyPointer-52" class="impl"><code class="in-band">impl <a class="trait" href="../../pyo3/conversion/trait.AsPyPointer.html" title="trait pyo3::conversion::AsPyPointer">AsPyPointer</a> for <a class="struct" href="../../pyo3/exceptions/struct.PySystemError.html" title="struct pyo3::exceptions::PySystemError">PySystemError</a></code><a href="#impl-AsPyPointer-52" class="anchor"></a><a class="srclink" href="../../src/pyo3/exceptions.rs.html#285" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.as_ptr-53" class="method"><code>fn <a href="#method.as_ptr-53" class="fnname">as_ptr</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../pyo3/ffi/struct.PyObject.html" title="struct pyo3::ffi::PyObject">PyObject</a></code><a class="srclink" href="../../src/pyo3/exceptions.rs.html#285" title="goto source code">[src]</a></h4><div class="docblock"><p>Gets the underlying FFI pointer, returns a borrowed pointer.</p>
</div></div><h3 id="impl-AsPyPointer-53" class="impl"><code class="in-band">impl <a class="trait" href="../../pyo3/conversion/trait.AsPyPointer.html" title="trait pyo3::conversion::AsPyPointer">AsPyPointer</a> for <a class="struct" href="../../pyo3/exceptions/struct.PySystemExit.html" title="struct pyo3::exceptions::PySystemExit">PySystemExit</a></code><a href="#impl-AsPyPointer-53" class="anchor"></a><a class="srclink" href="../../src/pyo3/exceptions.rs.html#286-291" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.as_ptr-54" class="method"><code>fn <a href="#method.as_ptr-54" class="fnname">as_ptr</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../pyo3/ffi/struct.PyObject.html" title="struct pyo3::ffi::PyObject">PyObject</a></code><a class="srclink" href="../../src/pyo3/exceptions.rs.html#286-291" title="goto source code">[src]</a></h4><div class="docblock"><p>Gets the underlying FFI pointer, returns a borrowed pointer.</p>
</div></div><h3 id="impl-AsPyPointer-54" class="impl"><code class="in-band">impl <a class="trait" href="../../pyo3/conversion/trait.AsPyPointer.html" title="trait pyo3::conversion::AsPyPointer">AsPyPointer</a> for <a class="struct" href="../../pyo3/exceptions/struct.PyTimeoutError.html" title="struct pyo3::exceptions::PyTimeoutError">PyTimeoutError</a></code><a href="#impl-AsPyPointer-54" class="anchor"></a><a class="srclink" href="../../src/pyo3/exceptions.rs.html#372" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.as_ptr-55" class="method"><code>fn <a href="#method.as_ptr-55" class="fnname">as_ptr</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../pyo3/ffi/struct.PyObject.html" title="struct pyo3::ffi::PyObject">PyObject</a></code><a class="srclink" href="../../src/pyo3/exceptions.rs.html#372" title="goto source code">[src]</a></h4><div class="docblock"><p>Gets the underlying FFI pointer, returns a borrowed pointer.</p>
</div></div><h3 id="impl-AsPyPointer-55" class="impl"><code class="in-band">impl <a class="trait" href="../../pyo3/conversion/trait.AsPyPointer.html" title="trait pyo3::conversion::AsPyPointer">AsPyPointer</a> for <a class="struct" href="../../pyo3/exceptions/struct.PyTypeError.html" title="struct pyo3::exceptions::PyTypeError">PyTypeError</a></code><a href="#impl-AsPyPointer-55" class="anchor"></a><a class="srclink" href="../../src/pyo3/exceptions.rs.html#292" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.as_ptr-56" class="method"><code>fn <a href="#method.as_ptr-56" class="fnname">as_ptr</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../pyo3/ffi/struct.PyObject.html" title="struct pyo3::ffi::PyObject">PyObject</a></code><a class="srclink" href="../../src/pyo3/exceptions.rs.html#292" title="goto source code">[src]</a></h4><div class="docblock"><p>Gets the underlying FFI pointer, returns a borrowed pointer.</p>
</div></div><h3 id="impl-AsPyPointer-56" class="impl"><code class="in-band">impl <a class="trait" href="../../pyo3/conversion/trait.AsPyPointer.html" title="trait pyo3::conversion::AsPyPointer">AsPyPointer</a> for <a class="struct" href="../../pyo3/exceptions/struct.PyUnboundLocalError.html" title="struct pyo3::exceptions::PyUnboundLocalError">PyUnboundLocalError</a></code><a href="#impl-AsPyPointer-56" class="anchor"></a><a class="srclink" href="../../src/pyo3/exceptions.rs.html#293-297" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.as_ptr-57" class="method"><code>fn <a href="#method.as_ptr-57" class="fnname">as_ptr</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../pyo3/ffi/struct.PyObject.html" title="struct pyo3::ffi::PyObject">PyObject</a></code><a class="srclink" href="../../src/pyo3/exceptions.rs.html#293-297" title="goto source code">[src]</a></h4><div class="docblock"><p>Gets the underlying FFI pointer, returns a borrowed pointer.</p>
</div></div><h3 id="impl-AsPyPointer-57" class="impl"><code class="in-band">impl <a class="trait" href="../../pyo3/conversion/trait.AsPyPointer.html" title="trait pyo3::conversion::AsPyPointer">AsPyPointer</a> for <a class="struct" href="../../pyo3/exceptions/struct.PyUnicodeDecodeError.html" title="struct pyo3::exceptions::PyUnicodeDecodeError">PyUnicodeDecodeError</a></code><a href="#impl-AsPyPointer-57" class="anchor"></a><a class="srclink" href="../../src/pyo3/exceptions.rs.html#304-308" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.as_ptr-58" class="method"><code>fn <a href="#method.as_ptr-58" class="fnname">as_ptr</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../pyo3/ffi/struct.PyObject.html" title="struct pyo3::ffi::PyObject">PyObject</a></code><a class="srclink" href="../../src/pyo3/exceptions.rs.html#304-308" title="goto source code">[src]</a></h4><div class="docblock"><p>Gets the underlying FFI pointer, returns a borrowed pointer.</p>
</div></div><h3 id="impl-AsPyPointer-58" class="impl"><code class="in-band">impl <a class="trait" href="../../pyo3/conversion/trait.AsPyPointer.html" title="trait pyo3::conversion::AsPyPointer">AsPyPointer</a> for <a class="struct" href="../../pyo3/exceptions/struct.PyUnicodeEncodeError.html" title="struct pyo3::exceptions::PyUnicodeEncodeError">PyUnicodeEncodeError</a></code><a href="#impl-AsPyPointer-58" class="anchor"></a><a class="srclink" href="../../src/pyo3/exceptions.rs.html#309-313" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.as_ptr-59" class="method"><code>fn <a href="#method.as_ptr-59" class="fnname">as_ptr</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../pyo3/ffi/struct.PyObject.html" title="struct pyo3::ffi::PyObject">PyObject</a></code><a class="srclink" href="../../src/pyo3/exceptions.rs.html#309-313" title="goto source code">[src]</a></h4><div class="docblock"><p>Gets the underlying FFI pointer, returns a borrowed pointer.</p>
</div></div><h3 id="impl-AsPyPointer-59" class="impl"><code class="in-band">impl <a class="trait" href="../../pyo3/conversion/trait.AsPyPointer.html" title="trait pyo3::conversion::AsPyPointer">AsPyPointer</a> for <a class="struct" href="../../pyo3/exceptions/struct.PyUnicodeError.html" title="struct pyo3::exceptions::PyUnicodeError">PyUnicodeError</a></code><a href="#impl-AsPyPointer-59" class="anchor"></a><a class="srclink" href="../../src/pyo3/exceptions.rs.html#298-303" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.as_ptr-60" class="method"><code>fn <a href="#method.as_ptr-60" class="fnname">as_ptr</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../pyo3/ffi/struct.PyObject.html" title="struct pyo3::ffi::PyObject">PyObject</a></code><a class="srclink" href="../../src/pyo3/exceptions.rs.html#298-303" title="goto source code">[src]</a></h4><div class="docblock"><p>Gets the underlying FFI pointer, returns a borrowed pointer.</p>
</div></div><h3 id="impl-AsPyPointer-60" class="impl"><code class="in-band">impl <a class="trait" href="../../pyo3/conversion/trait.AsPyPointer.html" title="trait pyo3::conversion::AsPyPointer">AsPyPointer</a> for <a class="struct" href="../../pyo3/exceptions/struct.PyUnicodeTranslateError.html" title="struct pyo3::exceptions::PyUnicodeTranslateError">PyUnicodeTranslateError</a></code><a href="#impl-AsPyPointer-60" class="anchor"></a><a class="srclink" href="../../src/pyo3/exceptions.rs.html#314-318" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.as_ptr-61" class="method"><code>fn <a href="#method.as_ptr-61" class="fnname">as_ptr</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../pyo3/ffi/struct.PyObject.html" title="struct pyo3::ffi::PyObject">PyObject</a></code><a class="srclink" href="../../src/pyo3/exceptions.rs.html#314-318" title="goto source code">[src]</a></h4><div class="docblock"><p>Gets the underlying FFI pointer, returns a borrowed pointer.</p>
</div></div><h3 id="impl-AsPyPointer-61" class="impl"><code class="in-band">impl <a class="trait" href="../../pyo3/conversion/trait.AsPyPointer.html" title="trait pyo3::conversion::AsPyPointer">AsPyPointer</a> for <a class="struct" href="../../pyo3/exceptions/struct.PyValueError.html" title="struct pyo3::exceptions::PyValueError">PyValueError</a></code><a href="#impl-AsPyPointer-61" class="anchor"></a><a class="srclink" href="../../src/pyo3/exceptions.rs.html#319" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.as_ptr-62" class="method"><code>fn <a href="#method.as_ptr-62" class="fnname">as_ptr</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../pyo3/ffi/struct.PyObject.html" title="struct pyo3::ffi::PyObject">PyObject</a></code><a class="srclink" href="../../src/pyo3/exceptions.rs.html#319" title="goto source code">[src]</a></h4><div class="docblock"><p>Gets the underlying FFI pointer, returns a borrowed pointer.</p>
</div></div><h3 id="impl-AsPyPointer-62" class="impl"><code class="in-band">impl <a class="trait" href="../../pyo3/conversion/trait.AsPyPointer.html" title="trait pyo3::conversion::AsPyPointer">AsPyPointer</a> for <a class="struct" href="../../pyo3/exceptions/struct.PyZeroDivisionError.html" title="struct pyo3::exceptions::PyZeroDivisionError">PyZeroDivisionError</a></code><a href="#impl-AsPyPointer-62" class="anchor"></a><a class="srclink" href="../../src/pyo3/exceptions.rs.html#320-324" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.as_ptr-63" class="method"><code>fn <a href="#method.as_ptr-63" class="fnname">as_ptr</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../pyo3/ffi/struct.PyObject.html" title="struct pyo3::ffi::PyObject">PyObject</a></code><a class="srclink" href="../../src/pyo3/exceptions.rs.html#320-324" title="goto source code">[src]</a></h4><div class="docblock"><p>Gets the underlying FFI pointer, returns a borrowed pointer.</p>
</div></div><h3 id="impl-AsPyPointer-63" class="impl"><code class="in-band">impl <a class="trait" href="../../pyo3/conversion/trait.AsPyPointer.html" title="trait pyo3::conversion::AsPyPointer">AsPyPointer</a> for <a class="struct" href="../../pyo3/panic/struct.PanicException.html" title="struct pyo3::panic::PanicException">PanicException</a></code><a href="#impl-AsPyPointer-63" class="anchor"></a><a class="srclink" href="../../src/pyo3/panic.rs.html#3-13" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.as_ptr-64" class="method"><code>fn <a href="#method.as_ptr-64" class="fnname">as_ptr</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../pyo3/ffi/struct.PyObject.html" title="struct pyo3::ffi::PyObject">PyObject</a></code><a class="srclink" href="../../src/pyo3/panic.rs.html#3-13" title="goto source code">[src]</a></h4><div class="docblock"><p>Gets the underlying FFI pointer, returns a borrowed pointer.</p>
</div></div><h3 id="impl-AsPyPointer-64" class="impl"><code class="in-band">impl <a class="trait" href="../../pyo3/conversion/trait.AsPyPointer.html" title="trait pyo3::conversion::AsPyPointer">AsPyPointer</a> for <a class="struct" href="../../pyo3/prelude/struct.PyAny.html" title="struct pyo3::prelude::PyAny">PyAny</a></code><a href="#impl-AsPyPointer-64" class="anchor"></a><a class="srclink" href="../../src/pyo3/types/any.rs.html#41-46" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.as_ptr-65" class="method hidden"><code>fn <a href="#method.as_ptr-65" class="fnname">as_ptr</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../pyo3/ffi/struct.PyObject.html" title="struct pyo3::ffi::PyObject">PyObject</a></code><a class="srclink" href="../../src/pyo3/types/any.rs.html#43-45" title="goto source code">[src]</a></h4></div><h3 id="impl-AsPyPointer-65" class="impl"><code class="in-band">impl <a class="trait" href="../../pyo3/conversion/trait.AsPyPointer.html" title="trait pyo3::conversion::AsPyPointer">AsPyPointer</a> for <a class="struct" href="../../pyo3/prelude/struct.PyModule.html" title="struct pyo3::prelude::PyModule">PyModule</a></code><a href="#impl-AsPyPointer-65" class="anchor"></a><a class="srclink" href="../../src/pyo3/types/module.rs.html#23" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.as_ptr-66" class="method"><code>fn <a href="#method.as_ptr-66" class="fnname">as_ptr</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../pyo3/ffi/struct.PyObject.html" title="struct pyo3::ffi::PyObject">PyObject</a></code><a class="srclink" href="../../src/pyo3/types/module.rs.html#23" title="goto source code">[src]</a></h4><div class="docblock"><p>Gets the underlying FFI pointer, returns a borrowed pointer.</p>
</div></div><h3 id="impl-AsPyPointer-66" class="impl"><code class="in-band">impl <a class="trait" href="../../pyo3/conversion/trait.AsPyPointer.html" title="trait pyo3::conversion::AsPyPointer">AsPyPointer</a> for <a class="struct" href="../../pyo3/types/struct.PyBool.html" title="struct pyo3::types::PyBool">PyBool</a></code><a href="#impl-AsPyPointer-66" class="anchor"></a><a class="srclink" href="../../src/pyo3/types/boolobject.rs.html#11" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.as_ptr-67" class="method"><code>fn <a href="#method.as_ptr-67" class="fnname">as_ptr</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../pyo3/ffi/struct.PyObject.html" title="struct pyo3::ffi::PyObject">PyObject</a></code><a class="srclink" href="../../src/pyo3/types/boolobject.rs.html#11" title="goto source code">[src]</a></h4><div class="docblock"><p>Gets the underlying FFI pointer, returns a borrowed pointer.</p>
</div></div><h3 id="impl-AsPyPointer-67" class="impl"><code class="in-band">impl <a class="trait" href="../../pyo3/conversion/trait.AsPyPointer.html" title="trait pyo3::conversion::AsPyPointer">AsPyPointer</a> for <a class="struct" href="../../pyo3/types/struct.PyByteArray.html" title="struct pyo3::types::PyByteArray">PyByteArray</a></code><a href="#impl-AsPyPointer-67" class="anchor"></a><a class="srclink" href="../../src/pyo3/types/bytearray.rs.html#12" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.as_ptr-68" class="method"><code>fn <a href="#method.as_ptr-68" class="fnname">as_ptr</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../pyo3/ffi/struct.PyObject.html" title="struct pyo3::ffi::PyObject">PyObject</a></code><a class="srclink" href="../../src/pyo3/types/bytearray.rs.html#12" title="goto source code">[src]</a></h4><div class="docblock"><p>Gets the underlying FFI pointer, returns a borrowed pointer.</p>
</div></div><h3 id="impl-AsPyPointer-68" class="impl"><code class="in-band">impl <a class="trait" href="../../pyo3/conversion/trait.AsPyPointer.html" title="trait pyo3::conversion::AsPyPointer">AsPyPointer</a> for <a class="struct" href="../../pyo3/types/struct.PyBytes.html" title="struct pyo3::types::PyBytes">PyBytes</a></code><a href="#impl-AsPyPointer-68" class="anchor"></a><a class="srclink" href="../../src/pyo3/types/bytes.rs.html#16" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.as_ptr-69" class="method"><code>fn <a href="#method.as_ptr-69" class="fnname">as_ptr</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../pyo3/ffi/struct.PyObject.html" title="struct pyo3::ffi::PyObject">PyObject</a></code><a class="srclink" href="../../src/pyo3/types/bytes.rs.html#16" title="goto source code">[src]</a></h4><div class="docblock"><p>Gets the underlying FFI pointer, returns a borrowed pointer.</p>
</div></div><h3 id="impl-AsPyPointer-69" class="impl"><code class="in-band">impl <a class="trait" href="../../pyo3/conversion/trait.AsPyPointer.html" title="trait pyo3::conversion::AsPyPointer">AsPyPointer</a> for <a class="struct" href="../../pyo3/types/struct.PyCFunction.html" title="struct pyo3::types::PyCFunction">PyCFunction</a></code><a href="#impl-AsPyPointer-69" class="anchor"></a><a class="srclink" href="../../src/pyo3/types/function.rs.html#12" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.as_ptr-70" class="method"><code>fn <a href="#method.as_ptr-70" class="fnname">as_ptr</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../pyo3/ffi/struct.PyObject.html" title="struct pyo3::ffi::PyObject">PyObject</a></code><a class="srclink" href="../../src/pyo3/types/function.rs.html#12" title="goto source code">[src]</a></h4><div class="docblock"><p>Gets the underlying FFI pointer, returns a borrowed pointer.</p>
</div></div><h3 id="impl-AsPyPointer-70" class="impl"><code class="in-band">impl <a class="trait" href="../../pyo3/conversion/trait.AsPyPointer.html" title="trait pyo3::conversion::AsPyPointer">AsPyPointer</a> for <a class="struct" href="../../pyo3/types/struct.PyComplex.html" title="struct pyo3::types::PyComplex">PyComplex</a></code><a href="#impl-AsPyPointer-70" class="anchor"></a><a class="srclink" href="../../src/pyo3/types/complex.rs.html#12-17" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.as_ptr-71" class="method"><code>fn <a href="#method.as_ptr-71" class="fnname">as_ptr</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../pyo3/ffi/struct.PyObject.html" title="struct pyo3::ffi::PyObject">PyObject</a></code><a class="srclink" href="../../src/pyo3/types/complex.rs.html#12-17" title="goto source code">[src]</a></h4><div class="docblock"><p>Gets the underlying FFI pointer, returns a borrowed pointer.</p>
</div></div><h3 id="impl-AsPyPointer-71" class="impl"><code class="in-band">impl <a class="trait" href="../../pyo3/conversion/trait.AsPyPointer.html" title="trait pyo3::conversion::AsPyPointer">AsPyPointer</a> for <a class="struct" href="../../pyo3/types/struct.PyDate.html" title="struct pyo3::types::PyDate">PyDate</a></code><a href="#impl-AsPyPointer-71" class="anchor"></a><a class="srclink" href="../../src/pyo3/types/datetime.rs.html#67-73" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.as_ptr-72" class="method"><code>fn <a href="#method.as_ptr-72" class="fnname">as_ptr</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../pyo3/ffi/struct.PyObject.html" title="struct pyo3::ffi::PyObject">PyObject</a></code><a class="srclink" href="../../src/pyo3/types/datetime.rs.html#67-73" title="goto source code">[src]</a></h4><div class="docblock"><p>Gets the underlying FFI pointer, returns a borrowed pointer.</p>
</div></div><h3 id="impl-AsPyPointer-72" class="impl"><code class="in-band">impl <a class="trait" href="../../pyo3/conversion/trait.AsPyPointer.html" title="trait pyo3::conversion::AsPyPointer">AsPyPointer</a> for <a class="struct" href="../../pyo3/types/struct.PyDateTime.html" title="struct pyo3::types::PyDateTime">PyDateTime</a></code><a href="#impl-AsPyPointer-72" class="anchor"></a><a class="srclink" href="../../src/pyo3/types/datetime.rs.html#124-130" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.as_ptr-73" class="method"><code>fn <a href="#method.as_ptr-73" class="fnname">as_ptr</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../pyo3/ffi/struct.PyObject.html" title="struct pyo3::ffi::PyObject">PyObject</a></code><a class="srclink" href="../../src/pyo3/types/datetime.rs.html#124-130" title="goto source code">[src]</a></h4><div class="docblock"><p>Gets the underlying FFI pointer, returns a borrowed pointer.</p>
</div></div><h3 id="impl-AsPyPointer-73" class="impl"><code class="in-band">impl <a class="trait" href="../../pyo3/conversion/trait.AsPyPointer.html" title="trait pyo3::conversion::AsPyPointer">AsPyPointer</a> for <a class="struct" href="../../pyo3/types/struct.PyDelta.html" title="struct pyo3::types::PyDelta">PyDelta</a></code><a href="#impl-AsPyPointer-73" class="anchor"></a><a class="srclink" href="../../src/pyo3/types/datetime.rs.html#362-368" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.as_ptr-74" class="method"><code>fn <a href="#method.as_ptr-74" class="fnname">as_ptr</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../pyo3/ffi/struct.PyObject.html" title="struct pyo3::ffi::PyObject">PyObject</a></code><a class="srclink" href="../../src/pyo3/types/datetime.rs.html#362-368" title="goto source code">[src]</a></h4><div class="docblock"><p>Gets the underlying FFI pointer, returns a borrowed pointer.</p>
</div></div><h3 id="impl-AsPyPointer-74" class="impl"><code class="in-band">impl <a class="trait" href="../../pyo3/conversion/trait.AsPyPointer.html" title="trait pyo3::conversion::AsPyPointer">AsPyPointer</a> for <a class="struct" href="../../pyo3/types/struct.PyDict.html" title="struct pyo3::types::PyDict">PyDict</a></code><a href="#impl-AsPyPointer-74" class="anchor"></a><a class="srclink" href="../../src/pyo3/types/dict.rs.html#19-24" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.as_ptr-75" class="method"><code>fn <a href="#method.as_ptr-75" class="fnname">as_ptr</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../pyo3/ffi/struct.PyObject.html" title="struct pyo3::ffi::PyObject">PyObject</a></code><a class="srclink" href="../../src/pyo3/types/dict.rs.html#19-24" title="goto source code">[src]</a></h4><div class="docblock"><p>Gets the underlying FFI pointer, returns a borrowed pointer.</p>
</div></div><h3 id="impl-AsPyPointer-75" class="impl"><code class="in-band">impl <a class="trait" href="../../pyo3/conversion/trait.AsPyPointer.html" title="trait pyo3::conversion::AsPyPointer">AsPyPointer</a> for <a class="struct" href="../../pyo3/types/struct.PyFloat.html" title="struct pyo3::types::PyFloat">PyFloat</a></code><a href="#impl-AsPyPointer-75" class="anchor"></a><a class="srclink" href="../../src/pyo3/types/floatob.rs.html#19-24" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.as_ptr-76" class="method"><code>fn <a href="#method.as_ptr-76" class="fnname">as_ptr</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../pyo3/ffi/struct.PyObject.html" title="struct pyo3::ffi::PyObject">PyObject</a></code><a class="srclink" href="../../src/pyo3/types/floatob.rs.html#19-24" title="goto source code">[src]</a></h4><div class="docblock"><p>Gets the underlying FFI pointer, returns a borrowed pointer.</p>
</div></div><h3 id="impl-AsPyPointer-76" class="impl"><code class="in-band">impl <a class="trait" href="../../pyo3/conversion/trait.AsPyPointer.html" title="trait pyo3::conversion::AsPyPointer">AsPyPointer</a> for <a class="struct" href="../../pyo3/types/struct.PyFrozenSet.html" title="struct pyo3::types::PyFrozenSet">PyFrozenSet</a></code><a href="#impl-AsPyPointer-76" class="anchor"></a><a class="srclink" href="../../src/pyo3/types/set.rs.html#24-29" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.as_ptr-77" class="method"><code>fn <a href="#method.as_ptr-77" class="fnname">as_ptr</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../pyo3/ffi/struct.PyObject.html" title="struct pyo3::ffi::PyObject">PyObject</a></code><a class="srclink" href="../../src/pyo3/types/set.rs.html#24-29" title="goto source code">[src]</a></h4><div class="docblock"><p>Gets the underlying FFI pointer, returns a borrowed pointer.</p>
</div></div><h3 id="impl-AsPyPointer-77" class="impl"><code class="in-band">impl <a class="trait" href="../../pyo3/conversion/trait.AsPyPointer.html" title="trait pyo3::conversion::AsPyPointer">AsPyPointer</a> for <a class="struct" href="../../pyo3/types/struct.PyFunction.html" title="struct pyo3::types::PyFunction">PyFunction</a></code><a href="#impl-AsPyPointer-77" class="anchor"></a><a class="srclink" href="../../src/pyo3/types/function.rs.html#100" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.as_ptr-78" class="method"><code>fn <a href="#method.as_ptr-78" class="fnname">as_ptr</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../pyo3/ffi/struct.PyObject.html" title="struct pyo3::ffi::PyObject">PyObject</a></code><a class="srclink" href="../../src/pyo3/types/function.rs.html#100" title="goto source code">[src]</a></h4><div class="docblock"><p>Gets the underlying FFI pointer, returns a borrowed pointer.</p>
</div></div><h3 id="impl-AsPyPointer-78" class="impl"><code class="in-band">impl <a class="trait" href="../../pyo3/conversion/trait.AsPyPointer.html" title="trait pyo3::conversion::AsPyPointer">AsPyPointer</a> for <a class="struct" href="../../pyo3/types/struct.PyIterator.html" title="struct pyo3::types::PyIterator">PyIterator</a></code><a href="#impl-AsPyPointer-78" class="anchor"></a><a class="srclink" href="../../src/pyo3/types/iterator.rs.html#29" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.as_ptr-79" class="method"><code>fn <a href="#method.as_ptr-79" class="fnname">as_ptr</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../pyo3/ffi/struct.PyObject.html" title="struct pyo3::ffi::PyObject">PyObject</a></code><a class="srclink" href="../../src/pyo3/types/iterator.rs.html#29" title="goto source code">[src]</a></h4><div class="docblock"><p>Gets the underlying FFI pointer, returns a borrowed pointer.</p>
</div></div><h3 id="impl-AsPyPointer-79" class="impl"><code class="in-band">impl <a class="trait" href="../../pyo3/conversion/trait.AsPyPointer.html" title="trait pyo3::conversion::AsPyPointer">AsPyPointer</a> for <a class="struct" href="../../pyo3/types/struct.PyList.html" title="struct pyo3::types::PyList">PyList</a></code><a href="#impl-AsPyPointer-79" class="anchor"></a><a class="srclink" href="../../src/pyo3/types/list.rs.html#16" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.as_ptr-80" class="method"><code>fn <a href="#method.as_ptr-80" class="fnname">as_ptr</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../pyo3/ffi/struct.PyObject.html" title="struct pyo3::ffi::PyObject">PyObject</a></code><a class="srclink" href="../../src/pyo3/types/list.rs.html#16" title="goto source code">[src]</a></h4><div class="docblock"><p>Gets the underlying FFI pointer, returns a borrowed pointer.</p>
</div></div><h3 id="impl-AsPyPointer-80" class="impl"><code class="in-band">impl <a class="trait" href="../../pyo3/conversion/trait.AsPyPointer.html" title="trait pyo3::conversion::AsPyPointer">AsPyPointer</a> for <a class="struct" href="../../pyo3/types/struct.PyLong.html" title="struct pyo3::types::PyLong">PyLong</a></code><a href="#impl-AsPyPointer-80" class="anchor"></a><a class="srclink" href="../../src/pyo3/types/num.rs.html#58" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.as_ptr-81" class="method"><code>fn <a href="#method.as_ptr-81" class="fnname">as_ptr</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../pyo3/ffi/struct.PyObject.html" title="struct pyo3::ffi::PyObject">PyObject</a></code><a class="srclink" href="../../src/pyo3/types/num.rs.html#58" title="goto source code">[src]</a></h4><div class="docblock"><p>Gets the underlying FFI pointer, returns a borrowed pointer.</p>
</div></div><h3 id="impl-AsPyPointer-81" class="impl"><code class="in-band">impl <a class="trait" href="../../pyo3/conversion/trait.AsPyPointer.html" title="trait pyo3::conversion::AsPyPointer">AsPyPointer</a> for <a class="struct" href="../../pyo3/types/struct.PySequence.html" title="struct pyo3::types::PySequence">PySequence</a></code><a href="#impl-AsPyPointer-81" class="anchor"></a><a class="srclink" href="../../src/pyo3/types/sequence.rs.html#14" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.as_ptr-82" class="method"><code>fn <a href="#method.as_ptr-82" class="fnname">as_ptr</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../pyo3/ffi/struct.PyObject.html" title="struct pyo3::ffi::PyObject">PyObject</a></code><a class="srclink" href="../../src/pyo3/types/sequence.rs.html#14" title="goto source code">[src]</a></h4><div class="docblock"><p>Gets the underlying FFI pointer, returns a borrowed pointer.</p>
</div></div><h3 id="impl-AsPyPointer-82" class="impl"><code class="in-band">impl <a class="trait" href="../../pyo3/conversion/trait.AsPyPointer.html" title="trait pyo3::conversion::AsPyPointer">AsPyPointer</a> for <a class="struct" href="../../pyo3/types/struct.PySet.html" title="struct pyo3::types::PySet">PySet</a></code><a href="#impl-AsPyPointer-82" class="anchor"></a><a class="srclink" href="../../src/pyo3/types/set.rs.html#23" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.as_ptr-83" class="method"><code>fn <a href="#method.as_ptr-83" class="fnname">as_ptr</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../pyo3/ffi/struct.PyObject.html" title="struct pyo3::ffi::PyObject">PyObject</a></code><a class="srclink" href="../../src/pyo3/types/set.rs.html#23" title="goto source code">[src]</a></h4><div class="docblock"><p>Gets the underlying FFI pointer, returns a borrowed pointer.</p>
</div></div><h3 id="impl-AsPyPointer-83" class="impl"><code class="in-band">impl <a class="trait" href="../../pyo3/conversion/trait.AsPyPointer.html" title="trait pyo3::conversion::AsPyPointer">AsPyPointer</a> for <a class="struct" href="../../pyo3/types/struct.PySlice.html" title="struct pyo3::types::PySlice">PySlice</a></code><a href="#impl-AsPyPointer-83" class="anchor"></a><a class="srclink" href="../../src/pyo3/types/slice.rs.html#15-20" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.as_ptr-84" class="method"><code>fn <a href="#method.as_ptr-84" class="fnname">as_ptr</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../pyo3/ffi/struct.PyObject.html" title="struct pyo3::ffi::PyObject">PyObject</a></code><a class="srclink" href="../../src/pyo3/types/slice.rs.html#15-20" title="goto source code">[src]</a></h4><div class="docblock"><p>Gets the underlying FFI pointer, returns a borrowed pointer.</p>
</div></div><h3 id="impl-AsPyPointer-84" class="impl"><code class="in-band">impl <a class="trait" href="../../pyo3/conversion/trait.AsPyPointer.html" title="trait pyo3::conversion::AsPyPointer">AsPyPointer</a> for <a class="struct" href="../../pyo3/types/struct.PyString.html" title="struct pyo3::types::PyString">PyString</a></code><a href="#impl-AsPyPointer-84" class="anchor"></a><a class="srclink" href="../../src/pyo3/types/string.rs.html#18" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.as_ptr-85" class="method"><code>fn <a href="#method.as_ptr-85" class="fnname">as_ptr</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../pyo3/ffi/struct.PyObject.html" title="struct pyo3::ffi::PyObject">PyObject</a></code><a class="srclink" href="../../src/pyo3/types/string.rs.html#18" title="goto source code">[src]</a></h4><div class="docblock"><p>Gets the underlying FFI pointer, returns a borrowed pointer.</p>
</div></div><h3 id="impl-AsPyPointer-85" class="impl"><code class="in-band">impl <a class="trait" href="../../pyo3/conversion/trait.AsPyPointer.html" title="trait pyo3::conversion::AsPyPointer">AsPyPointer</a> for <a class="struct" href="../../pyo3/types/struct.PyTime.html" title="struct pyo3::types::PyTime">PyTime</a></code><a href="#impl-AsPyPointer-85" class="anchor"></a><a class="srclink" href="../../src/pyo3/types/datetime.rs.html#267-273" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.as_ptr-86" class="method"><code>fn <a href="#method.as_ptr-86" class="fnname">as_ptr</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../pyo3/ffi/struct.PyObject.html" title="struct pyo3::ffi::PyObject">PyObject</a></code><a class="srclink" href="../../src/pyo3/types/datetime.rs.html#267-273" title="goto source code">[src]</a></h4><div class="docblock"><p>Gets the underlying FFI pointer, returns a borrowed pointer.</p>
</div></div><h3 id="impl-AsPyPointer-86" class="impl"><code class="in-band">impl <a class="trait" href="../../pyo3/conversion/trait.AsPyPointer.html" title="trait pyo3::conversion::AsPyPointer">AsPyPointer</a> for <a class="struct" href="../../pyo3/types/struct.PyTuple.html" title="struct pyo3::types::PyTuple">PyTuple</a></code><a href="#impl-AsPyPointer-86" class="anchor"></a><a class="srclink" href="../../src/pyo3/types/tuple.rs.html#15" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.as_ptr-87" class="method"><code>fn <a href="#method.as_ptr-87" class="fnname">as_ptr</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../pyo3/ffi/struct.PyObject.html" title="struct pyo3::ffi::PyObject">PyObject</a></code><a class="srclink" href="../../src/pyo3/types/tuple.rs.html#15" title="goto source code">[src]</a></h4><div class="docblock"><p>Gets the underlying FFI pointer, returns a borrowed pointer.</p>
</div></div><h3 id="impl-AsPyPointer-87" class="impl"><code class="in-band">impl <a class="trait" href="../../pyo3/conversion/trait.AsPyPointer.html" title="trait pyo3::conversion::AsPyPointer">AsPyPointer</a> for <a class="struct" href="../../pyo3/types/struct.PyType.html" title="struct pyo3::types::PyType">PyType</a></code><a href="#impl-AsPyPointer-87" class="anchor"></a><a class="srclink" href="../../src/pyo3/types/typeobject.rs.html#14" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.as_ptr-88" class="method"><code>fn <a href="#method.as_ptr-88" class="fnname">as_ptr</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../pyo3/ffi/struct.PyObject.html" title="struct pyo3::ffi::PyObject">PyObject</a></code><a class="srclink" href="../../src/pyo3/types/typeobject.rs.html#14" title="goto source code">[src]</a></h4><div class="docblock"><p>Gets the underlying FFI pointer, returns a borrowed pointer.</p>
</div></div><h3 id="impl-AsPyPointer-88" class="impl"><code class="in-band">impl <a class="trait" href="../../pyo3/conversion/trait.AsPyPointer.html" title="trait pyo3::conversion::AsPyPointer">AsPyPointer</a> for <a class="struct" href="../../pyo3/types/struct.PyTzInfo.html" title="struct pyo3::types::PyTzInfo">PyTzInfo</a></code><a href="#impl-AsPyPointer-88" class="anchor"></a><a class="srclink" href="../../src/pyo3/types/datetime.rs.html#351-357" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.as_ptr-89" class="method"><code>fn <a href="#method.as_ptr-89" class="fnname">as_ptr</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../pyo3/ffi/struct.PyObject.html" title="struct pyo3::ffi::PyObject">PyObject</a></code><a class="srclink" href="../../src/pyo3/types/datetime.rs.html#351-357" title="goto source code">[src]</a></h4><div class="docblock"><p>Gets the underlying FFI pointer, returns a borrowed pointer.</p>
</div></div><h3 id="impl-AsPyPointer-89" class="impl"><code class="in-band">impl&lt;'a, T:&nbsp;<a class="trait" href="../../pyo3/pyclass/trait.PyClass.html" title="trait pyo3::pyclass::PyClass">PyClass</a>&gt; <a class="trait" href="../../pyo3/conversion/trait.AsPyPointer.html" title="trait pyo3::conversion::AsPyPointer">AsPyPointer</a> for <a class="struct" href="../../pyo3/pycell/struct.PyRef.html" title="struct pyo3::pycell::PyRef">PyRef</a>&lt;'a, T&gt;</code><a href="#impl-AsPyPointer-89" class="anchor"></a><a class="srclink" href="../../src/pyo3/pycell.rs.html#594-598" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.as_ptr-90" class="method hidden"><code>fn <a href="#method.as_ptr-90" class="fnname">as_ptr</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../pyo3/ffi/struct.PyObject.html" title="struct pyo3::ffi::PyObject">PyObject</a></code><a class="srclink" href="../../src/pyo3/pycell.rs.html#595-597" title="goto source code">[src]</a></h4></div><h3 id="impl-AsPyPointer-90" class="impl"><code class="in-band">impl&lt;'a, T:&nbsp;<a class="trait" href="../../pyo3/pyclass/trait.PyClass.html" title="trait pyo3::pyclass::PyClass">PyClass</a>&gt; <a class="trait" href="../../pyo3/conversion/trait.AsPyPointer.html" title="trait pyo3::conversion::AsPyPointer">AsPyPointer</a> for <a class="struct" href="../../pyo3/pycell/struct.PyRefMut.html" title="struct pyo3::pycell::PyRefMut">PyRefMut</a>&lt;'a, T&gt;</code><a href="#impl-AsPyPointer-90" class="anchor"></a><a class="srclink" href="../../src/pyo3/pycell.rs.html#685-689" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.as_ptr-91" class="method hidden"><code>fn <a href="#method.as_ptr-91" class="fnname">as_ptr</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../pyo3/ffi/struct.PyObject.html" title="struct pyo3::ffi::PyObject">PyObject</a></code><a class="srclink" href="../../src/pyo3/pycell.rs.html#686-688" title="goto source code">[src]</a></h4></div><h3 id="impl-AsPyPointer-91" class="impl"><code class="in-band">impl&lt;T&gt; <a class="trait" href="../../pyo3/conversion/trait.AsPyPointer.html" title="trait pyo3::conversion::AsPyPointer">AsPyPointer</a> for <a class="struct" href="../../pyo3/prelude/struct.Py.html" title="struct pyo3::prelude::Py">Py</a>&lt;T&gt;</code><a href="#impl-AsPyPointer-91" class="anchor"></a><a class="srclink" href="../../src/pyo3/instance.rs.html#476-482" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.as_ptr-92" class="method"><code>fn <a href="#method.as_ptr-92" class="fnname">as_ptr</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../pyo3/ffi/struct.PyObject.html" title="struct pyo3::ffi::PyObject">PyObject</a></code><a class="srclink" href="../../src/pyo3/instance.rs.html#479-481" title="goto source code">[src]</a></h4><div class="docblock"><p>Gets the underlying FFI pointer, returns a borrowed pointer.</p>
</div></div><h3 id="impl-AsPyPointer-92" class="impl"><code class="in-band">impl&lt;T:&nbsp;<a class="trait" href="../../pyo3/pyclass/trait.PyClass.html" title="trait pyo3::pyclass::PyClass">PyClass</a>&gt; <a class="trait" href="../../pyo3/conversion/trait.AsPyPointer.html" title="trait pyo3::conversion::AsPyPointer">AsPyPointer</a> for <a class="struct" href="../../pyo3/pycell/struct.PyCell.html" title="struct pyo3::pycell::PyCell">PyCell</a>&lt;T&gt;</code><a href="#impl-AsPyPointer-92" class="anchor"></a><a class="srclink" href="../../src/pyo3/pycell.rs.html#410-414" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.as_ptr-93" class="method hidden"><code>fn <a href="#method.as_ptr-93" class="fnname">as_ptr</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../pyo3/ffi/struct.PyObject.html" title="struct pyo3::ffi::PyObject">PyObject</a></code><a class="srclink" href="../../src/pyo3/pycell.rs.html#411-413" title="goto source code">[src]</a></h4></div></div><span class="loading-content">Loading content...</span><script type="text/javascript" src="../../implementors/pyo3/conversion/trait.AsPyPointer.js" async></script></section><section id="search" class="content hidden"></section><section class="footer"></section><div id="rustdoc-vars" data-root-path="../../" data-current-crate="pyo3" data-search-js="../../search-index.js"></div>
<script src="../../main.js"></script></body></html>