74 lines
196 KiB
HTML
74 lines
196 KiB
HTML
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Defines a conversion from a Rust type to a Python object."><title>IntoPy in pyo3::conversion - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../../static.files/rustdoc-46132b98.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="pyo3" data-themes="" data-resource-suffix="" data-rustdoc-version="1.85.1 (4eb161250 2025-03-15)" data-channel="1.85.1" data-search-js="search-75f5ac3e.js" data-settings-js="settings-0f613d39.js" ><script src="../../static.files/storage-59e33391.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-5f194d8c.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-893ab5e7.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-6580c154.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-044be391.svg"></head><body class="rustdoc trait"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../pyo3/index.html">pyo3</a><span class="version">0.24.1</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">IntoPy</a></h2><h3><a href="#">Sections</a></h3><ul class="block top-toc"><li><a href="#examples" title="Examples">Examples</a><ul><li><a href="#with-pyclass" title="With `#[pyclass]`">With <code>#[pyclass]</code></a></li><li><a href="#conversion-to-a-python-object" title="Conversion to a Python object">Conversion to a Python object</a></li><li><a href="#dynamic-conversion-into-python-objects" title="Dynamic conversion into Python objects.">Dynamic conversion into Python objects.</a></li></ul></li></ul><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.into_py" title="into_py">into_py</a></li></ul><h3><a href="#foreign-impls">Implementations on Foreign Types</a></h3><ul class="block"><li><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-%26OsStr" title="&OsStr">&OsStr</a></li><li><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-%26OsString" title="&OsString">&OsString</a></li><li><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-%26Path" title="&Path">&Path</a></li><li><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-%26PathBuf" title="&PathBuf">&PathBuf</a></li><li><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-%26String" title="&String">&String</a></li><li><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-%26%5Bu8%5D" title="&[u8]">&[u8]</a></li><li><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-%26str" title="&str">&str</a></li><li><a href="#impl-IntoPy%3CPy%3CPyString%3E%3E-for-%26str" title="&str">&str</a></li><li><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-()" title="()">()</a></li><li><a href="#impl-IntoPy%3CPy%3CPyTuple%3E%3E-for-()" title="()">()</a></li><li><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-(T0,+T1)" title="(T0, T1)">(T0, T1)</a></li><li><a href="#impl-IntoPy%3CPy%3CPyTuple%3E%3E-for-(T0,+T1)" title="(T0, T1)">(T0, T1)</a></li><li><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-(T0,+T1,+T2)" title="(T0, T1, T2)">(T0, T1, T2)</a></li><li><a href="#impl-IntoPy%3CPy%3CPyTuple%3E%3E-for-(T0,+T1,+T2)" title="(T0, T1, T2)">(T0, T1, T2)</a></li><li><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-(T0,+T1,+T2,+T3)" title="(T0, T1, T2, T3)">(T0, T1, T2, T3)</a></li><li><a href="#impl-IntoPy%3CPy%3CPyTuple%3E%3E-for-(T0,+T1,+T2,+T3)" title="(T0, T1, T2, T3)">(T0, T1, T2, T3)</a></li><li><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-(T0,+T1,+T2,+T3,+T4)" title="(T0, T1, T2, T3, T4)">(T0, T1, T2, T3, T4)</a></li><li><a href="#impl-IntoPy%3CPy%3CPyTuple%3E%3E-for-(T0,+T1,+T2,+T3,+T4)" title="(T0, T1, T2, T3, T4)">(T0, T1, T2, T3, T4)</a></li><li><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-(T0,+T1,+T2,+T3,+T4,+T5)" title="(T0, T1, T2, T3, T4, T5)">(T0, T1, T2, T3, T4, T5)</a></li><li><a href="#impl-IntoPy%3CPy%3CPyTuple%3E%3E-for-(T0,+T1,+T2,+T3,+T4,+T5)" title="(T0, T1, T2, T3, T4, T5)">(T0, T1, T2, T3, T4, T5)</a></li><li><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-(T0,+T1,+T2,+T3,+T4,+T5,+T6)" title="(T0, T1, T2, T3, T4, T5, T6)">(T0, T1, T2, T3, T4, T5, T6)</a></li><li><a href="#impl-IntoPy%3CPy%3CPyTuple%3E%3E-for-(T0,+T1,+T2,+T3,+T4,+T5,+T6)" title="(T0, T1, T2, T3, T4, T5, T6)">(T0, T1, T2, T3, T4, T5, T6)</a></li><li><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-(T0,+T1,+T2,+T3,+T4,+T5,+T6,+T7)" title="(T0, T1, T2, T3, T4, T5, T6, T7)">(T0, T1, T2, T3, T4, T5, T6, T7)</a></li><li><a href="#impl-IntoPy%3CPy%3CPyTuple%3E%3E-for-(T0,+T1,+T2,+T3,+T4,+T5,+T6,+T7)" title="(T0, T1, T2, T3, T4, T5, T6, T7)">(T0, T1, T2, T3, T4, T5, T6, T7)</a></li><li><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-(T0,+T1,+T2,+T3,+T4,+T5,+T6,+T7,+T8)" title="(T0, T1, T2, T3, T4, T5, T6, T7, T8)">(T0, T1, T2, T3, T4, T5, T6, T7, T8)</a></li><li><a href="#impl-IntoPy%3CPy%3CPyTuple%3E%3E-for-(T0,+T1,+T2,+T3,+T4,+T5,+T6,+T7,+T8)" title="(T0, T1, T2, T3, T4, T5, T6, T7, T8)">(T0, T1, T2, T3, T4, T5, T6, T7, T8)</a></li><li><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-(T0,+T1,+T2,+T3,+T4,+T5,+T6,+T7,+T8,+T9)" title="(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9)">(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9)</a></li><li><a href="#impl-IntoPy%3CPy%3CPyTuple%3E%3E-for-(T0,+T1,+T2,+T3,+T4,+T5,+T6,+T7,+T8,+T9)" title="(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9)">(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9)</a></li><li><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-(T0,+T1,+T2,+T3,+T4,+T5,+T6,+T7,+T8,+T9,+T10)" title="(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)">(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)</a></li><li><a href="#impl-IntoPy%3CPy%3CPyTuple%3E%3E-for-(T0,+T1,+T2,+T3,+T4,+T5,+T6,+T7,+T8,+T9,+T10)" title="(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)">(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)</a></li><li><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-(T0,+T1,+T2,+T3,+T4,+T5,+T6,+T7,+T8,+T9,+T10,+T11)" title="(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)">(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)</a></li><li><a href="#impl-IntoPy%3CPy%3CPyTuple%3E%3E-for-(T0,+T1,+T2,+T3,+T4,+T5,+T6,+T7,+T8,+T9,+T10,+T11)" title="(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)">(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)</a></li><li><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-(T0,)" title="(T0,)">(T0,)</a></li><li><a href="#impl-IntoPy%3CPy%3CPyTuple%3E%3E-for-(T0,)" title="(T0,)">(T0,)</a></li><li><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-BTreeMap%3CK,+V%3E" title="BTreeMap<K, V>">BTreeMap<K, V></a></li><li><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-BTreeSet%3CK%3E" title="BTreeSet<K>">BTreeSet<K></a></li><li><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-Cell%3CT%3E" title="Cell<T>">Cell<T></a></li><li><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-Cow%3C'_,+OsStr%3E" title="Cow<'_, OsStr>">Cow<'_, OsStr></a></li><li><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-Cow%3C'_,+Path%3E" title="Cow<'_, Path>">Cow<'_, Path></a></li><li><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-Cow%3C'_,+%5Bu8%5D%3E" title="Cow<'_, [u8]>">Cow<'_, [u8]></a></li><li><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-Cow%3C'_,+str%3E" title="Cow<'_, str>">Cow<'_, str></a></li><li><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-Duration" title="Duration">Duration</a></li><li><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-HashMap%3CK,+V,+H%3E" title="HashMap<K, V, H>">HashMap<K, V, H></a></li><li><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-HashSet%3CK,+S%3E" title="HashSet<K, S>">HashSet<K, S></a></li><li><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-IpAddr" title="IpAddr">IpAddr</a></li><li><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-NonZero%3Ci128%3E" title="NonZeroI128">NonZeroI128</a></li><li><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-NonZero%3Ci16%3E" title="NonZeroI16">NonZeroI16</a></li><li><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-NonZero%3Ci32%3E" title="NonZeroI32">NonZeroI32</a></li><li><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-NonZero%3Ci64%3E" title="NonZeroI64">NonZeroI64</a></li><li><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-NonZero%3Ci8%3E" title="NonZeroI8">NonZeroI8</a></li><li><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-NonZero%3Cisize%3E" title="NonZeroIsize">NonZeroIsize</a></li><li><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-NonZero%3Cu128%3E" title="NonZeroU128">NonZeroU128</a></li><li><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-NonZero%3Cu16%3E" title="NonZeroU16">NonZeroU16</a></li><li><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-NonZero%3Cu32%3E" title="NonZeroU32">NonZeroU32</a></li><li><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-NonZero%3Cu64%3E" title="NonZeroU64">NonZeroU64</a></li><li><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-NonZero%3Cu8%3E" title="NonZeroU8">NonZeroU8</a></li><li><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-NonZero%3Cusize%3E" title="NonZeroUsize">NonZeroUsize</a></li><li><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-Option%3CT%3E" title="Option<T>">Option<T></a></li><li><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-OsString" title="OsString">OsString</a></li><li><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-PathBuf" title="PathBuf">PathBuf</a></li><li><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-String" title="String">String</a></li><li><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-SystemTime" title="SystemTime">SystemTime</a></li><li><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-Vec%3CT%3E" title="Vec<T>">Vec<T></a></li><li><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-%5BT;+N%5D" title="[T; N]">[T; N]</a></li><li><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-bool" title="bool">bool</a></li><li><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-char" title="char">char</a></li><li><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-f32" title="f32">f32</a></li><li><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-f64" title="f64">f64</a></li><li><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-i128" title="i128">i128</a></li><li><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-i16" title="i16">i16</a></li><li><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-i32" title="i32">i32</a></li><li><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-i64" title="i64">i64</a></li><li><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-i8" title="i8">i8</a></li><li><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-isize" title="isize">isize</a></li><li><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-u128" title="u128">u128</a></li><li><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-u16" title="u16">u16</a></li><li><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-u32" title="u32">u32</a></li><li><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-u64" title="u64">u64</a></li><li><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-u8" title="u8">u8</a></li><li><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-usize" title="usize">usize</a></li></ul><h3><a href="#dyn-compatibility">Dyn Compatibility</a></h3><h3><a href="#implementors">Implementors</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In pyo3::<wbr>conversion</a></h2></div></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><span class="rustdoc-breadcrumbs"><a href="../index.html">pyo3</a>::<wbr><a href="index.html">conversion</a></span><h1>Trait <span class="trait">IntoPy</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../../src/pyo3/conversion.rs.html#174-177">Source</a> </span></div><pre class="rust item-decl"><code>pub trait IntoPy<T>: <a class="trait" href="https://doc.rust-lang.org/1.85.1/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a> {
|
||
// Required method
|
||
fn <a href="#tymethod.into_py" class="fn">into_py</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a><'_>) -> T;
|
||
}</code></pre><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated since 0.23.0: <code>IntoPy</code> is going to be replaced by <code>IntoPyObject</code>. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.</span></div></span><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Defines a conversion from a Rust type to a Python object.</p>
|
||
<p>It functions similarly to std’s <a href="https://doc.rust-lang.org/1.85.1/core/convert/trait.Into.html" title="trait core::convert::Into"><code>Into</code></a> trait, but requires a <a href="../marker/struct.Python.html" title="struct pyo3::marker::Python">GIL token</a>
|
||
as an argument. Many functions and traits internal to PyO3 require this trait as a bound,
|
||
so a lack of this trait can manifest itself in different error messages.</p>
|
||
<h2 id="examples"><a class="doc-anchor" href="#examples">§</a>Examples</h2><h3 id="with-pyclass"><a class="doc-anchor" href="#with-pyclass">§</a>With <code>#[pyclass]</code></h3>
|
||
<p>The easiest way to implement <code>IntoPy</code> is by exposing a struct as a native Python object
|
||
by annotating it with <a href="../attr.pyclass.html" title="attr pyo3::pyclass"><code>#[pyclass]</code></a>.</p>
|
||
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>pyo3::prelude::<span class="kw-2">*</span>;
|
||
|
||
<span class="attr">#[pyclass]
|
||
</span><span class="kw">struct </span>Number {
|
||
<span class="attr">#[pyo3(get, set)]
|
||
</span>value: i32,
|
||
}</code></pre></div>
|
||
<p>Python code will see this as an instance of the <code>Number</code> class with a <code>value</code> attribute.</p>
|
||
<h3 id="conversion-to-a-python-object"><a class="doc-anchor" href="#conversion-to-a-python-object">§</a>Conversion to a Python object</h3>
|
||
<p>However, it may not be desirable to expose the existence of <code>Number</code> to Python code.
|
||
<code>IntoPy</code> allows us to define a conversion to an appropriate Python object.</p>
|
||
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="attr">#![allow(deprecated)]
|
||
</span><span class="kw">use </span>pyo3::prelude::<span class="kw-2">*</span>;
|
||
|
||
<span class="kw">struct </span>Number {
|
||
value: i32,
|
||
}
|
||
|
||
<span class="kw">impl </span>IntoPy<PyObject> <span class="kw">for </span>Number {
|
||
<span class="kw">fn </span>into_py(<span class="self">self</span>, py: Python<<span class="lifetime">'_</span>>) -> PyObject {
|
||
<span class="comment">// delegates to i32's IntoPy implementation.
|
||
</span><span class="self">self</span>.value.into_py(py)
|
||
}
|
||
}</code></pre></div>
|
||
<p>Python code will see this as an <code>int</code> object.</p>
|
||
<h3 id="dynamic-conversion-into-python-objects"><a class="doc-anchor" href="#dynamic-conversion-into-python-objects">§</a>Dynamic conversion into Python objects.</h3>
|
||
<p>It is also possible to return a different Python object depending on some condition.
|
||
This is useful for types like enums that can carry different types.</p>
|
||
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="attr">#![allow(deprecated)]
|
||
</span><span class="kw">use </span>pyo3::prelude::<span class="kw-2">*</span>;
|
||
|
||
<span class="kw">enum </span>Value {
|
||
Integer(i32),
|
||
String(String),
|
||
<span class="prelude-val">None</span>,
|
||
}
|
||
|
||
<span class="kw">impl </span>IntoPy<PyObject> <span class="kw">for </span>Value {
|
||
<span class="kw">fn </span>into_py(<span class="self">self</span>, py: Python<<span class="lifetime">'_</span>>) -> PyObject {
|
||
<span class="kw">match </span><span class="self">self </span>{
|
||
<span class="self">Self</span>::Integer(val) => val.into_py(py),
|
||
<span class="self">Self</span>::String(val) => val.into_py(py),
|
||
<span class="self">Self</span>::None => py.<span class="prelude-val">None</span>(),
|
||
}
|
||
}
|
||
}</code></pre></div>
|
||
<p>Python code will see this as any of the <code>int</code>, <code>string</code> or <code>None</code> objects.</p>
|
||
</div></details><h2 id="required-methods" class="section-header">Required Methods<a href="#required-methods" class="anchor">§</a></h2><div class="methods"><details class="toggle method-toggle" open><summary><section id="tymethod.into_py" class="method"><a class="src rightside" href="../../src/pyo3/conversion.rs.html#176">Source</a><h4 class="code-header">fn <a href="#tymethod.into_py" class="fn">into_py</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a><'_>) -> T</h4></section><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated since 0.23.0: <code>IntoPy</code> is going to be replaced by <code>IntoPyObject</code>. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.</span></div></span></summary><div class="docblock"><p>Performs the conversion.</p>
|
||
</div></details></div><h2 id="dyn-compatibility" class="section-header">Dyn Compatibility<a href="#dyn-compatibility" class="anchor">§</a></h2><div class="dyn-compatibility-info"><p>This trait is <b>not</b> <a href="https://doc.rust-lang.org/1.85.1/reference/items/traits.html#object-safety">dyn compatible</a>.</p><p><i>In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.</i></p></div><h2 id="foreign-impls" class="section-header">Implementations on Foreign Types<a href="#foreign-impls" class="anchor">§</a></h2><details class="toggle implementors-toggle"><summary><section id="impl-IntoPy%3CPy%3CPyAny%3E%3E-for-%26str" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/string.rs.html#25-30">Source</a><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-%26str" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyAny.html" title="struct pyo3::types::PyAny">PyAny</a>>> for &<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.str.html">str</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_py" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/string.rs.html#27-29">Source</a><a href="#method.into_py" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_py" class="fn">into_py</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a><'_>) -> <a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a></h4></section></summary><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated since 0.23.0: <code>IntoPy</code> is going to be replaced by <code>IntoPyObject</code>. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.</span></div></span></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPy%3CPy%3CPyAny%3E%3E-for-%26String" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/string.rs.html#204-209">Source</a><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-%26String" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyAny.html" title="struct pyo3::types::PyAny">PyAny</a>>> for &<a class="struct" href="https://doc.rust-lang.org/1.85.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_py-1" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/string.rs.html#206-208">Source</a><a href="#method.into_py-1" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_py" class="fn">into_py</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a><'_>) -> <a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a></h4></section></summary><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated since 0.23.0: <code>IntoPy</code> is going to be replaced by <code>IntoPyObject</code>. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.</span></div></span></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPy%3CPy%3CPyAny%3E%3E-for-%26OsStr" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/osstr.rs.html#138-143">Source</a><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-%26OsStr" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyAny.html" title="struct pyo3::types::PyAny">PyAny</a>>> for &<a class="struct" href="https://doc.rust-lang.org/1.85.1/std/ffi/os_str/struct.OsStr.html" title="struct std::ffi::os_str::OsStr">OsStr</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_py-2" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/osstr.rs.html#140-142">Source</a><a href="#method.into_py-2" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_py" class="fn">into_py</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a><'_>) -> <a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a></h4></section></summary><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated since 0.23.0: <code>IntoPy</code> is going to be replaced by <code>IntoPyObject</code>. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.</span></div></span></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPy%3CPy%3CPyAny%3E%3E-for-%26OsString" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/osstr.rs.html#211-216">Source</a><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-%26OsString" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyAny.html" title="struct pyo3::types::PyAny">PyAny</a>>> for &<a class="struct" href="https://doc.rust-lang.org/1.85.1/std/ffi/os_str/struct.OsString.html" title="struct std::ffi::os_str::OsString">OsString</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_py-3" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/osstr.rs.html#213-215">Source</a><a href="#method.into_py-3" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_py" class="fn">into_py</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a><'_>) -> <a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a></h4></section></summary><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated since 0.23.0: <code>IntoPy</code> is going to be replaced by <code>IntoPyObject</code>. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.</span></div></span></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPy%3CPy%3CPyAny%3E%3E-for-%26Path" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/path.rs.html#32-37">Source</a><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-%26Path" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyAny.html" title="struct pyo3::types::PyAny">PyAny</a>>> for &<a class="struct" href="https://doc.rust-lang.org/1.85.1/std/path/struct.Path.html" title="struct std::path::Path">Path</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_py-4" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/path.rs.html#34-36">Source</a><a href="#method.into_py-4" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_py" class="fn">into_py</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a><'_>) -> <a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a></h4></section></summary><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated since 0.23.0: <code>IntoPy</code> is going to be replaced by <code>IntoPyObject</code>. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.</span></div></span></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPy%3CPy%3CPyAny%3E%3E-for-%26PathBuf" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/path.rs.html#130-135">Source</a><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-%26PathBuf" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyAny.html" title="struct pyo3::types::PyAny">PyAny</a>>> for &<a class="struct" href="https://doc.rust-lang.org/1.85.1/std/path/struct.PathBuf.html" title="struct std::path::PathBuf">PathBuf</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_py-5" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/path.rs.html#132-134">Source</a><a href="#method.into_py-5" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_py" class="fn">into_py</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a><'_>) -> <a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a></h4></section></summary><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated since 0.23.0: <code>IntoPy</code> is going to be replaced by <code>IntoPyObject</code>. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.</span></div></span></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPy%3CPy%3CPyAny%3E%3E-for-%26%5Bu8%5D" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/slice.rs.html#14-18">Source</a><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-%26%5Bu8%5D" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyAny.html" title="struct pyo3::types::PyAny">PyAny</a>>> for &[<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.u8.html">u8</a>]</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_py-6" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/slice.rs.html#15-17">Source</a><a href="#method.into_py-6" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_py" class="fn">into_py</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a><'_>) -> <a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a></h4></section></summary><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated since 0.23.0: <code>IntoPy</code> is going to be replaced by <code>IntoPyObject</code>. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.</span></div></span></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPy%3CPy%3CPyAny%3E%3E-for-Cow%3C'_,+str%3E" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/string.rs.html#83-88">Source</a><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-Cow%3C'_,+str%3E" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyAny.html" title="struct pyo3::types::PyAny">PyAny</a>>> for <a class="enum" href="https://doc.rust-lang.org/1.85.1/alloc/borrow/enum.Cow.html" title="enum alloc::borrow::Cow">Cow</a><'_, <a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.str.html">str</a>></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_py-7" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/string.rs.html#85-87">Source</a><a href="#method.into_py-7" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_py" class="fn">into_py</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a><'_>) -> <a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a></h4></section></summary><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated since 0.23.0: <code>IntoPy</code> is going to be replaced by <code>IntoPyObject</code>. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.</span></div></span></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPy%3CPy%3CPyAny%3E%3E-for-Cow%3C'_,+OsStr%3E" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/osstr.rs.html#154-159">Source</a><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-Cow%3C'_,+OsStr%3E" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyAny.html" title="struct pyo3::types::PyAny">PyAny</a>>> for <a class="enum" href="https://doc.rust-lang.org/1.85.1/alloc/borrow/enum.Cow.html" title="enum alloc::borrow::Cow">Cow</a><'_, <a class="struct" href="https://doc.rust-lang.org/1.85.1/std/ffi/os_str/struct.OsStr.html" title="struct std::ffi::os_str::OsStr">OsStr</a>></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_py-8" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/osstr.rs.html#156-158">Source</a><a href="#method.into_py-8" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_py" class="fn">into_py</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a><'_>) -> <a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a></h4></section></summary><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated since 0.23.0: <code>IntoPy</code> is going to be replaced by <code>IntoPyObject</code>. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.</span></div></span></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPy%3CPy%3CPyAny%3E%3E-for-Cow%3C'_,+Path%3E" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/path.rs.html#73-78">Source</a><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-Cow%3C'_,+Path%3E" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyAny.html" title="struct pyo3::types::PyAny">PyAny</a>>> for <a class="enum" href="https://doc.rust-lang.org/1.85.1/alloc/borrow/enum.Cow.html" title="enum alloc::borrow::Cow">Cow</a><'_, <a class="struct" href="https://doc.rust-lang.org/1.85.1/std/path/struct.Path.html" title="struct std::path::Path">Path</a>></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_py-9" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/path.rs.html#75-77">Source</a><a href="#method.into_py-9" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_py" class="fn">into_py</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a><'_>) -> <a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a></h4></section></summary><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated since 0.23.0: <code>IntoPy</code> is going to be replaced by <code>IntoPyObject</code>. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.</span></div></span></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPy%3CPy%3CPyAny%3E%3E-for-Cow%3C'_,+%5Bu8%5D%3E" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/slice.rs.html#87-91">Source</a><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-Cow%3C'_,+%5Bu8%5D%3E" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyAny.html" title="struct pyo3::types::PyAny">PyAny</a>>> for <a class="enum" href="https://doc.rust-lang.org/1.85.1/alloc/borrow/enum.Cow.html" title="enum alloc::borrow::Cow">Cow</a><'_, [<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.u8.html">u8</a>]></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_py-10" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/slice.rs.html#88-90">Source</a><a href="#method.into_py-10" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_py" class="fn">into_py</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a><'_>) -> <a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyAny.html" title="struct pyo3::types::PyAny">PyAny</a>></h4></section></summary><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated since 0.23.0: <code>IntoPy</code> is going to be replaced by <code>IntoPyObject</code>. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.</span></div></span></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPy%3CPy%3CPyAny%3E%3E-for-IpAddr" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/ipaddr.rs.html#107-112">Source</a><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-IpAddr" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyAny.html" title="struct pyo3::types::PyAny">PyAny</a>>> for <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/net/ip_addr/enum.IpAddr.html" title="enum core::net::ip_addr::IpAddr">IpAddr</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_py-11" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/ipaddr.rs.html#109-111">Source</a><a href="#method.into_py-11" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_py" class="fn">into_py</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a><'_>) -> <a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a></h4></section></summary><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated since 0.23.0: <code>IntoPy</code> is going to be replaced by <code>IntoPyObject</code>. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.</span></div></span></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPy%3CPy%3CPyAny%3E%3E-for-bool" class="impl"><a class="src rightside" href="../../src/pyo3/types/boolobject.rs.html#158-163">Source</a><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-bool" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyAny.html" title="struct pyo3::types::PyAny">PyAny</a>>> for <a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.bool.html">bool</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_py-12" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/types/boolobject.rs.html#160-162">Source</a><a href="#method.into_py-12" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_py" class="fn">into_py</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a><'_>) -> <a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a></h4></section></summary><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated since 0.23.0: <code>IntoPy</code> is going to be replaced by <code>IntoPyObject</code>. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.</span></div></span></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPy%3CPy%3CPyAny%3E%3E-for-char" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/string.rs.html#141-146">Source</a><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-char" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyAny.html" title="struct pyo3::types::PyAny">PyAny</a>>> for <a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.char.html">char</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_py-13" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/string.rs.html#143-145">Source</a><a href="#method.into_py-13" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_py" class="fn">into_py</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a><'_>) -> <a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a></h4></section></summary><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated since 0.23.0: <code>IntoPy</code> is going to be replaced by <code>IntoPyObject</code>. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.</span></div></span></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPy%3CPy%3CPyAny%3E%3E-for-f32" class="impl"><a class="src rightside" href="../../src/pyo3/types/float.rs.html#168-173">Source</a><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-f32" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyAny.html" title="struct pyo3::types::PyAny">PyAny</a>>> for <a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.f32.html">f32</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_py-14" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/types/float.rs.html#170-172">Source</a><a href="#method.into_py-14" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_py" class="fn">into_py</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a><'_>) -> <a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a></h4></section></summary><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated since 0.23.0: <code>IntoPy</code> is going to be replaced by <code>IntoPyObject</code>. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.</span></div></span></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPy%3CPy%3CPyAny%3E%3E-for-f64" class="impl"><a class="src rightside" href="../../src/pyo3/types/float.rs.html#90-95">Source</a><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-f64" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyAny.html" title="struct pyo3::types::PyAny">PyAny</a>>> for <a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.f64.html">f64</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_py-15" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/types/float.rs.html#92-94">Source</a><a href="#method.into_py-15" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_py" class="fn">into_py</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a><'_>) -> <a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a></h4></section></summary><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated since 0.23.0: <code>IntoPy</code> is going to be replaced by <code>IntoPyObject</code>. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.</span></div></span></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPy%3CPy%3CPyAny%3E%3E-for-i8" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#319">Source</a><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-i8" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyAny.html" title="struct pyo3::types::PyAny">PyAny</a>>> for <a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.i8.html">i8</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_py-16" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#319">Source</a><a href="#method.into_py-16" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_py" class="fn">into_py</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a><'_>) -> <a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a></h4></section></summary><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated since 0.23.0: <code>IntoPy</code> is going to be replaced by <code>IntoPyObject</code>. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.</span></div></span></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPy%3CPy%3CPyAny%3E%3E-for-i16" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#320">Source</a><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-i16" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyAny.html" title="struct pyo3::types::PyAny">PyAny</a>>> for <a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.i16.html">i16</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_py-17" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#320">Source</a><a href="#method.into_py-17" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_py" class="fn">into_py</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a><'_>) -> <a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a></h4></section></summary><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated since 0.23.0: <code>IntoPy</code> is going to be replaced by <code>IntoPyObject</code>. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.</span></div></span></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPy%3CPy%3CPyAny%3E%3E-for-i32" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#322">Source</a><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-i32" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyAny.html" title="struct pyo3::types::PyAny">PyAny</a>>> for <a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.i32.html">i32</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_py-18" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#322">Source</a><a href="#method.into_py-18" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_py" class="fn">into_py</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a><'_>) -> <a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a></h4></section></summary><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated since 0.23.0: <code>IntoPy</code> is going to be replaced by <code>IntoPyObject</code>. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.</span></div></span></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPy%3CPy%3CPyAny%3E%3E-for-i64" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#331">Source</a><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-i64" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyAny.html" title="struct pyo3::types::PyAny">PyAny</a>>> for <a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.i64.html">i64</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_py-19" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#331">Source</a><a href="#method.into_py-19" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_py" class="fn">into_py</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a><'_>) -> <a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a></h4></section></summary><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated since 0.23.0: <code>IntoPy</code> is going to be replaced by <code>IntoPyObject</code>. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.</span></div></span></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPy%3CPy%3CPyAny%3E%3E-for-i128" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#500">Source</a><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-i128" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyAny.html" title="struct pyo3::types::PyAny">PyAny</a>>> for <a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.i128.html">i128</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_py-20" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#500">Source</a><a href="#method.into_py-20" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_py" class="fn">into_py</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a><'_>) -> <a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a></h4></section></summary><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated since 0.23.0: <code>IntoPy</code> is going to be replaced by <code>IntoPyObject</code>. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.</span></div></span></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPy%3CPy%3CPyAny%3E%3E-for-isize" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#338">Source</a><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-isize" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyAny.html" title="struct pyo3::types::PyAny">PyAny</a>>> for <a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.isize.html">isize</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_py-21" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#338">Source</a><a href="#method.into_py-21" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_py" class="fn">into_py</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a><'_>) -> <a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a></h4></section></summary><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated since 0.23.0: <code>IntoPy</code> is going to be replaced by <code>IntoPyObject</code>. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.</span></div></span></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPy%3CPy%3CPyAny%3E%3E-for-u8" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#242-247">Source</a><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-u8" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyAny.html" title="struct pyo3::types::PyAny">PyAny</a>>> for <a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.u8.html">u8</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_py-22" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#244-246">Source</a><a href="#method.into_py-22" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_py" class="fn">into_py</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a><'_>) -> <a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a></h4></section></summary><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated since 0.23.0: <code>IntoPy</code> is going to be replaced by <code>IntoPyObject</code>. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.</span></div></span></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPy%3CPy%3CPyAny%3E%3E-for-u16" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#321">Source</a><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-u16" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyAny.html" title="struct pyo3::types::PyAny">PyAny</a>>> for <a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.u16.html">u16</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_py-23" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#321">Source</a><a href="#method.into_py-23" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_py" class="fn">into_py</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a><'_>) -> <a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a></h4></section></summary><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated since 0.23.0: <code>IntoPy</code> is going to be replaced by <code>IntoPyObject</code>. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.</span></div></span></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPy%3CPy%3CPyAny%3E%3E-for-u32" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#326">Source</a><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-u32" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyAny.html" title="struct pyo3::types::PyAny">PyAny</a>>> for <a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.u32.html">u32</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_py-24" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#326">Source</a><a href="#method.into_py-24" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_py" class="fn">into_py</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a><'_>) -> <a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a></h4></section></summary><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated since 0.23.0: <code>IntoPy</code> is going to be replaced by <code>IntoPyObject</code>. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.</span></div></span></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPy%3CPy%3CPyAny%3E%3E-for-u64" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#345-350">Source</a><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-u64" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyAny.html" title="struct pyo3::types::PyAny">PyAny</a>>> for <a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.u64.html">u64</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_py-25" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#345-350">Source</a><a href="#method.into_py-25" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_py" class="fn">into_py</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a><'_>) -> <a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a></h4></section></summary><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated since 0.23.0: <code>IntoPy</code> is going to be replaced by <code>IntoPyObject</code>. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.</span></div></span></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPy%3CPy%3CPyAny%3E%3E-for-u128" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#501">Source</a><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-u128" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyAny.html" title="struct pyo3::types::PyAny">PyAny</a>>> for <a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.u128.html">u128</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_py-26" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#501">Source</a><a href="#method.into_py-26" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_py" class="fn">into_py</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a><'_>) -> <a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a></h4></section></summary><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated since 0.23.0: <code>IntoPy</code> is going to be replaced by <code>IntoPyObject</code>. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.</span></div></span></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPy%3CPy%3CPyAny%3E%3E-for-()" class="impl"><a class="src rightside" href="../../src/pyo3/types/none.rs.html#60-65">Source</a><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-()" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyAny.html" title="struct pyo3::types::PyAny">PyAny</a>>> for <a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.unit.html">()</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_py-27" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/types/none.rs.html#62-64">Source</a><a href="#method.into_py-27" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_py" class="fn">into_py</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a><'_>) -> <a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a></h4></section></summary><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated since 0.23.0: <code>IntoPy</code> is going to be replaced by <code>IntoPyObject</code>. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.</span></div></span></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPy%3CPy%3CPyAny%3E%3E-for-usize" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#342">Source</a><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-usize" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyAny.html" title="struct pyo3::types::PyAny">PyAny</a>>> for <a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.usize.html">usize</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_py-28" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#342">Source</a><a href="#method.into_py-28" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_py" class="fn">into_py</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a><'_>) -> <a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a></h4></section></summary><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated since 0.23.0: <code>IntoPy</code> is going to be replaced by <code>IntoPyObject</code>. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.</span></div></span></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPy%3CPy%3CPyAny%3E%3E-for-String" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/string.rs.html#181-186">Source</a><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-String" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyAny.html" title="struct pyo3::types::PyAny">PyAny</a>>> for <a class="struct" href="https://doc.rust-lang.org/1.85.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_py-29" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/string.rs.html#183-185">Source</a><a href="#method.into_py-29" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_py" class="fn">into_py</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a><'_>) -> <a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a></h4></section></summary><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated since 0.23.0: <code>IntoPy</code> is going to be replaced by <code>IntoPyObject</code>. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.</span></div></span></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPy%3CPy%3CPyAny%3E%3E-for-Duration" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/time.rs.html#64-69">Source</a><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-Duration" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyAny.html" title="struct pyo3::types::PyAny">PyAny</a>>> for <a class="struct" href="https://doc.rust-lang.org/1.85.1/core/time/struct.Duration.html" title="struct core::time::Duration">Duration</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_py-30" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/time.rs.html#66-68">Source</a><a href="#method.into_py-30" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_py" class="fn">into_py</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a><'_>) -> <a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a></h4></section></summary><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated since 0.23.0: <code>IntoPy</code> is going to be replaced by <code>IntoPyObject</code>. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.</span></div></span></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPy%3CPy%3CPyAny%3E%3E-for-OsString" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/osstr.rs.html#192-197">Source</a><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-OsString" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyAny.html" title="struct pyo3::types::PyAny">PyAny</a>>> for <a class="struct" href="https://doc.rust-lang.org/1.85.1/std/ffi/os_str/struct.OsString.html" title="struct std::ffi::os_str::OsString">OsString</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_py-31" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/osstr.rs.html#194-196">Source</a><a href="#method.into_py-31" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_py" class="fn">into_py</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a><'_>) -> <a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a></h4></section></summary><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated since 0.23.0: <code>IntoPy</code> is going to be replaced by <code>IntoPyObject</code>. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.</span></div></span></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPy%3CPy%3CPyAny%3E%3E-for-PathBuf" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/path.rs.html#111-116">Source</a><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-PathBuf" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyAny.html" title="struct pyo3::types::PyAny">PyAny</a>>> for <a class="struct" href="https://doc.rust-lang.org/1.85.1/std/path/struct.PathBuf.html" title="struct std::path::PathBuf">PathBuf</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_py-32" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/path.rs.html#113-115">Source</a><a href="#method.into_py-32" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_py" class="fn">into_py</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a><'_>) -> <a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a></h4></section></summary><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated since 0.23.0: <code>IntoPy</code> is going to be replaced by <code>IntoPyObject</code>. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.</span></div></span></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPy%3CPy%3CPyAny%3E%3E-for-SystemTime" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/time.rs.html#146-151">Source</a><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-SystemTime" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyAny.html" title="struct pyo3::types::PyAny">PyAny</a>>> for <a class="struct" href="https://doc.rust-lang.org/1.85.1/std/time/struct.SystemTime.html" title="struct std::time::SystemTime">SystemTime</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_py-33" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/time.rs.html#148-150">Source</a><a href="#method.into_py-33" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_py" class="fn">into_py</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a><'_>) -> <a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a></h4></section></summary><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated since 0.23.0: <code>IntoPy</code> is going to be replaced by <code>IntoPyObject</code>. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.</span></div></span></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPy%3CPy%3CPyAny%3E%3E-for-NonZero%3Ci8%3E" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#680">Source</a><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-NonZero%3Ci8%3E" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyAny.html" title="struct pyo3::types::PyAny">PyAny</a>>> for <a class="type" href="https://doc.rust-lang.org/1.85.1/core/num/nonzero/type.NonZeroI8.html" title="type core::num::nonzero::NonZeroI8">NonZeroI8</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_py-34" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#680">Source</a><a href="#method.into_py-34" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_py" class="fn">into_py</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a><'_>) -> <a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a></h4></section></summary><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated since 0.23.0: <code>IntoPy</code> is going to be replaced by <code>IntoPyObject</code>. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.</span></div></span></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPy%3CPy%3CPyAny%3E%3E-for-NonZero%3Ci16%3E" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#681">Source</a><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-NonZero%3Ci16%3E" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyAny.html" title="struct pyo3::types::PyAny">PyAny</a>>> for <a class="type" href="https://doc.rust-lang.org/1.85.1/core/num/nonzero/type.NonZeroI16.html" title="type core::num::nonzero::NonZeroI16">NonZeroI16</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_py-35" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#681">Source</a><a href="#method.into_py-35" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_py" class="fn">into_py</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a><'_>) -> <a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a></h4></section></summary><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated since 0.23.0: <code>IntoPy</code> is going to be replaced by <code>IntoPyObject</code>. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.</span></div></span></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPy%3CPy%3CPyAny%3E%3E-for-NonZero%3Ci32%3E" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#682">Source</a><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-NonZero%3Ci32%3E" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyAny.html" title="struct pyo3::types::PyAny">PyAny</a>>> for <a class="type" href="https://doc.rust-lang.org/1.85.1/core/num/nonzero/type.NonZeroI32.html" title="type core::num::nonzero::NonZeroI32">NonZeroI32</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_py-36" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#682">Source</a><a href="#method.into_py-36" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_py" class="fn">into_py</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a><'_>) -> <a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a></h4></section></summary><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated since 0.23.0: <code>IntoPy</code> is going to be replaced by <code>IntoPyObject</code>. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.</span></div></span></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPy%3CPy%3CPyAny%3E%3E-for-NonZero%3Ci64%3E" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#683">Source</a><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-NonZero%3Ci64%3E" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyAny.html" title="struct pyo3::types::PyAny">PyAny</a>>> for <a class="type" href="https://doc.rust-lang.org/1.85.1/core/num/nonzero/type.NonZeroI64.html" title="type core::num::nonzero::NonZeroI64">NonZeroI64</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_py-37" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#683">Source</a><a href="#method.into_py-37" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_py" class="fn">into_py</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a><'_>) -> <a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a></h4></section></summary><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated since 0.23.0: <code>IntoPy</code> is going to be replaced by <code>IntoPyObject</code>. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.</span></div></span></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPy%3CPy%3CPyAny%3E%3E-for-NonZero%3Ci128%3E" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#684">Source</a><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-NonZero%3Ci128%3E" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyAny.html" title="struct pyo3::types::PyAny">PyAny</a>>> for <a class="type" href="https://doc.rust-lang.org/1.85.1/core/num/nonzero/type.NonZeroI128.html" title="type core::num::nonzero::NonZeroI128">NonZeroI128</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_py-38" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#684">Source</a><a href="#method.into_py-38" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_py" class="fn">into_py</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a><'_>) -> <a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a></h4></section></summary><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated since 0.23.0: <code>IntoPy</code> is going to be replaced by <code>IntoPyObject</code>. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.</span></div></span></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPy%3CPy%3CPyAny%3E%3E-for-NonZero%3Cisize%3E" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#685">Source</a><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-NonZero%3Cisize%3E" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyAny.html" title="struct pyo3::types::PyAny">PyAny</a>>> for <a class="type" href="https://doc.rust-lang.org/1.85.1/core/num/nonzero/type.NonZeroIsize.html" title="type core::num::nonzero::NonZeroIsize">NonZeroIsize</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_py-39" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#685">Source</a><a href="#method.into_py-39" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_py" class="fn">into_py</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a><'_>) -> <a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a></h4></section></summary><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated since 0.23.0: <code>IntoPy</code> is going to be replaced by <code>IntoPyObject</code>. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.</span></div></span></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPy%3CPy%3CPyAny%3E%3E-for-NonZero%3Cu8%3E" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#686">Source</a><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-NonZero%3Cu8%3E" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyAny.html" title="struct pyo3::types::PyAny">PyAny</a>>> for <a class="type" href="https://doc.rust-lang.org/1.85.1/core/num/nonzero/type.NonZeroU8.html" title="type core::num::nonzero::NonZeroU8">NonZeroU8</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_py-40" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#686">Source</a><a href="#method.into_py-40" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_py" class="fn">into_py</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a><'_>) -> <a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a></h4></section></summary><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated since 0.23.0: <code>IntoPy</code> is going to be replaced by <code>IntoPyObject</code>. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.</span></div></span></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPy%3CPy%3CPyAny%3E%3E-for-NonZero%3Cu16%3E" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#687">Source</a><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-NonZero%3Cu16%3E" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyAny.html" title="struct pyo3::types::PyAny">PyAny</a>>> for <a class="type" href="https://doc.rust-lang.org/1.85.1/core/num/nonzero/type.NonZeroU16.html" title="type core::num::nonzero::NonZeroU16">NonZeroU16</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_py-41" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#687">Source</a><a href="#method.into_py-41" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_py" class="fn">into_py</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a><'_>) -> <a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a></h4></section></summary><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated since 0.23.0: <code>IntoPy</code> is going to be replaced by <code>IntoPyObject</code>. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.</span></div></span></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPy%3CPy%3CPyAny%3E%3E-for-NonZero%3Cu32%3E" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#688">Source</a><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-NonZero%3Cu32%3E" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyAny.html" title="struct pyo3::types::PyAny">PyAny</a>>> for <a class="type" href="https://doc.rust-lang.org/1.85.1/core/num/nonzero/type.NonZeroU32.html" title="type core::num::nonzero::NonZeroU32">NonZeroU32</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_py-42" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#688">Source</a><a href="#method.into_py-42" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_py" class="fn">into_py</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a><'_>) -> <a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a></h4></section></summary><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated since 0.23.0: <code>IntoPy</code> is going to be replaced by <code>IntoPyObject</code>. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.</span></div></span></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPy%3CPy%3CPyAny%3E%3E-for-NonZero%3Cu64%3E" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#689">Source</a><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-NonZero%3Cu64%3E" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyAny.html" title="struct pyo3::types::PyAny">PyAny</a>>> for <a class="type" href="https://doc.rust-lang.org/1.85.1/core/num/nonzero/type.NonZeroU64.html" title="type core::num::nonzero::NonZeroU64">NonZeroU64</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_py-43" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#689">Source</a><a href="#method.into_py-43" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_py" class="fn">into_py</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a><'_>) -> <a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a></h4></section></summary><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated since 0.23.0: <code>IntoPy</code> is going to be replaced by <code>IntoPyObject</code>. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.</span></div></span></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPy%3CPy%3CPyAny%3E%3E-for-NonZero%3Cu128%3E" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#690">Source</a><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-NonZero%3Cu128%3E" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyAny.html" title="struct pyo3::types::PyAny">PyAny</a>>> for <a class="type" href="https://doc.rust-lang.org/1.85.1/core/num/nonzero/type.NonZeroU128.html" title="type core::num::nonzero::NonZeroU128">NonZeroU128</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_py-44" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#690">Source</a><a href="#method.into_py-44" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_py" class="fn">into_py</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a><'_>) -> <a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a></h4></section></summary><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated since 0.23.0: <code>IntoPy</code> is going to be replaced by <code>IntoPyObject</code>. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.</span></div></span></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPy%3CPy%3CPyAny%3E%3E-for-NonZero%3Cusize%3E" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#691">Source</a><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-NonZero%3Cusize%3E" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyAny.html" title="struct pyo3::types::PyAny">PyAny</a>>> for <a class="type" href="https://doc.rust-lang.org/1.85.1/core/num/nonzero/type.NonZeroUsize.html" title="type core::num::nonzero::NonZeroUsize">NonZeroUsize</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_py-45" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#691">Source</a><a href="#method.into_py-45" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_py" class="fn">into_py</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a><'_>) -> <a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a></h4></section></summary><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated since 0.23.0: <code>IntoPy</code> is going to be replaced by <code>IntoPyObject</code>. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.</span></div></span></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPy%3CPy%3CPyString%3E%3E-for-%26str" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/string.rs.html#33-38">Source</a><a href="#impl-IntoPy%3CPy%3CPyString%3E%3E-for-%26str" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyString.html" title="struct pyo3::types::PyString">PyString</a>>> for &<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.str.html">str</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_py-46" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/string.rs.html#35-37">Source</a><a href="#method.into_py-46" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_py" class="fn">into_py</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a><'_>) -> <a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyString.html" title="struct pyo3::types::PyString">PyString</a>></h4></section></summary><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated since 0.23.0: <code>IntoPy</code> is going to be replaced by <code>IntoPyObject</code>. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.</span></div></span></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPy%3CPy%3CPyTuple%3E%3E-for-()" class="impl"><a class="src rightside" href="../../src/pyo3/conversion.rs.html#584-588">Source</a><a href="#impl-IntoPy%3CPy%3CPyTuple%3E%3E-for-()" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyTuple.html" title="struct pyo3::types::PyTuple">PyTuple</a>>> for <a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.unit.html">()</a></h3><div class="docblock"><p>Converts <code>()</code> to an empty Python tuple.</p>
|
||
</div></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_py-47" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversion.rs.html#585-587">Source</a><a href="#method.into_py-47" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_py" class="fn">into_py</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a><'_>) -> <a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyTuple.html" title="struct pyo3::types::PyTuple">PyTuple</a>></h4></section></summary><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated since 0.23.0: <code>IntoPy</code> is going to be replaced by <code>IntoPyObject</code>. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.</span></div></span></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPy%3CPy%3CPyAny%3E%3E-for-BTreeSet%3CK%3E" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/set.rs.html#121-130">Source</a><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-BTreeSet%3CK%3E" class="anchor">§</a><h3 class="code-header">impl<K> <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyAny.html" title="struct pyo3::types::PyAny">PyAny</a>>> for <a class="struct" href="https://doc.rust-lang.org/1.85.1/alloc/collections/btree/set/struct.BTreeSet.html" title="struct alloc::collections::btree::set::BTreeSet">BTreeSet</a><K><div class="where">where
|
||
K: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>> + <a class="trait" href="https://doc.rust-lang.org/1.85.1/core/cmp/trait.Ord.html" title="trait core::cmp::Ord">Ord</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_py-48" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/set.rs.html#125-129">Source</a><a href="#method.into_py-48" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_py" class="fn">into_py</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a><'_>) -> <a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a></h4></section></summary><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated since 0.23.0: <code>IntoPy</code> is going to be replaced by <code>IntoPyObject</code>. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.</span></div></span></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPy%3CPy%3CPyAny%3E%3E-for-HashSet%3CK,+S%3E" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/set.rs.html#45-55">Source</a><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-HashSet%3CK,+S%3E" class="anchor">§</a><h3 class="code-header">impl<K, S> <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyAny.html" title="struct pyo3::types::PyAny">PyAny</a>>> for <a class="struct" href="https://doc.rust-lang.org/1.85.1/std/collections/hash/set/struct.HashSet.html" title="struct std::collections::hash::set::HashSet">HashSet</a><K, S><div class="where">where
|
||
K: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>> + <a class="trait" href="https://doc.rust-lang.org/1.85.1/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a> + <a class="trait" href="https://doc.rust-lang.org/1.85.1/core/hash/trait.Hash.html" title="trait core::hash::Hash">Hash</a>,
|
||
S: <a class="trait" href="https://doc.rust-lang.org/1.85.1/core/hash/trait.BuildHasher.html" title="trait core::hash::BuildHasher">BuildHasher</a> + <a class="trait" href="https://doc.rust-lang.org/1.85.1/core/default/trait.Default.html" title="trait core::default::Default">Default</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_py-49" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/set.rs.html#50-54">Source</a><a href="#method.into_py-49" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_py" class="fn">into_py</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a><'_>) -> <a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a></h4></section></summary><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated since 0.23.0: <code>IntoPy</code> is going to be replaced by <code>IntoPyObject</code>. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.</span></div></span></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPy%3CPy%3CPyAny%3E%3E-for-BTreeMap%3CK,+V%3E" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/map.rs.html#112-124">Source</a><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-BTreeMap%3CK,+V%3E" class="anchor">§</a><h3 class="code-header">impl<K, V> <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyAny.html" title="struct pyo3::types::PyAny">PyAny</a>>> for <a class="struct" href="https://doc.rust-lang.org/1.85.1/alloc/collections/btree/map/struct.BTreeMap.html" title="struct alloc::collections::btree::map::BTreeMap">BTreeMap</a><K, V><div class="where">where
|
||
K: <a class="trait" href="https://doc.rust-lang.org/1.85.1/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a> + <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>,
|
||
V: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_py-50" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/map.rs.html#117-123">Source</a><a href="#method.into_py-50" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_py" class="fn">into_py</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a><'_>) -> <a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a></h4></section></summary><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated since 0.23.0: <code>IntoPy</code> is going to be replaced by <code>IntoPyObject</code>. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.</span></div></span></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPy%3CPy%3CPyAny%3E%3E-for-HashMap%3CK,+V,+H%3E" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/map.rs.html#46-59">Source</a><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-HashMap%3CK,+V,+H%3E" class="anchor">§</a><h3 class="code-header">impl<K, V, H> <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyAny.html" title="struct pyo3::types::PyAny">PyAny</a>>> for <a class="struct" href="https://doc.rust-lang.org/1.85.1/std/collections/hash/map/struct.HashMap.html" title="struct std::collections::hash::map::HashMap">HashMap</a><K, V, H><div class="where">where
|
||
K: <a class="trait" href="https://doc.rust-lang.org/1.85.1/core/hash/trait.Hash.html" title="trait core::hash::Hash">Hash</a> + <a class="trait" href="https://doc.rust-lang.org/1.85.1/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a> + <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>,
|
||
V: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>,
|
||
H: <a class="trait" href="https://doc.rust-lang.org/1.85.1/core/hash/trait.BuildHasher.html" title="trait core::hash::BuildHasher">BuildHasher</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_py-51" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/map.rs.html#52-58">Source</a><a href="#method.into_py-51" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_py" class="fn">into_py</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a><'_>) -> <a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a></h4></section></summary><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated since 0.23.0: <code>IntoPy</code> is going to be replaced by <code>IntoPyObject</code>. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.</span></div></span></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPy%3CPy%3CPyAny%3E%3E-for-(T0,)" class="impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#988">Source</a><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-(T0,)" class="anchor">§</a><h3 class="code-header">impl<T0: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>> <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyAny.html" title="struct pyo3::types::PyAny">PyAny</a>>> for <a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.tuple.html">(T0,)</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_py-52" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#988">Source</a><a href="#method.into_py-52" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_py" class="fn">into_py</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a><'_>) -> <a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a></h4></section></summary><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated since 0.23.0: <code>IntoPy</code> is going to be replaced by <code>IntoPyObject</code>. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.</span></div></span></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPy%3CPy%3CPyTuple%3E%3E-for-(T0,)" class="impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#988">Source</a><a href="#impl-IntoPy%3CPy%3CPyTuple%3E%3E-for-(T0,)" class="anchor">§</a><h3 class="code-header">impl<T0: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>> <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyTuple.html" title="struct pyo3::types::PyTuple">PyTuple</a>>> for <a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.tuple.html">(T0,)</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_py-53" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#988">Source</a><a href="#method.into_py-53" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_py" class="fn">into_py</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a><'_>) -> <a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyTuple.html" title="struct pyo3::types::PyTuple">PyTuple</a>></h4></section></summary><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated since 0.23.0: <code>IntoPy</code> is going to be replaced by <code>IntoPyObject</code>. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.</span></div></span></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPy%3CPy%3CPyAny%3E%3E-for-(T0,+T1)" class="impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#989">Source</a><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-(T0,+T1)" class="anchor">§</a><h3 class="code-header">impl<T0: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T1: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>> <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyAny.html" title="struct pyo3::types::PyAny">PyAny</a>>> for <a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.tuple.html">(T0, T1)</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_py-54" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#989">Source</a><a href="#method.into_py-54" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_py" class="fn">into_py</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a><'_>) -> <a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a></h4></section></summary><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated since 0.23.0: <code>IntoPy</code> is going to be replaced by <code>IntoPyObject</code>. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.</span></div></span></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPy%3CPy%3CPyTuple%3E%3E-for-(T0,+T1)" class="impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#989">Source</a><a href="#impl-IntoPy%3CPy%3CPyTuple%3E%3E-for-(T0,+T1)" class="anchor">§</a><h3 class="code-header">impl<T0: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T1: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>> <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyTuple.html" title="struct pyo3::types::PyTuple">PyTuple</a>>> for <a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.tuple.html">(T0, T1)</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_py-55" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#989">Source</a><a href="#method.into_py-55" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_py" class="fn">into_py</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a><'_>) -> <a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyTuple.html" title="struct pyo3::types::PyTuple">PyTuple</a>></h4></section></summary><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated since 0.23.0: <code>IntoPy</code> is going to be replaced by <code>IntoPyObject</code>. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.</span></div></span></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPy%3CPy%3CPyAny%3E%3E-for-(T0,+T1,+T2)" class="impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#990">Source</a><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-(T0,+T1,+T2)" class="anchor">§</a><h3 class="code-header">impl<T0: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T1: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T2: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>> <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyAny.html" title="struct pyo3::types::PyAny">PyAny</a>>> for <a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.tuple.html">(T0, T1, T2)</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_py-56" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#990">Source</a><a href="#method.into_py-56" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_py" class="fn">into_py</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a><'_>) -> <a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a></h4></section></summary><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated since 0.23.0: <code>IntoPy</code> is going to be replaced by <code>IntoPyObject</code>. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.</span></div></span></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPy%3CPy%3CPyTuple%3E%3E-for-(T0,+T1,+T2)" class="impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#990">Source</a><a href="#impl-IntoPy%3CPy%3CPyTuple%3E%3E-for-(T0,+T1,+T2)" class="anchor">§</a><h3 class="code-header">impl<T0: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T1: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T2: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>> <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyTuple.html" title="struct pyo3::types::PyTuple">PyTuple</a>>> for <a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.tuple.html">(T0, T1, T2)</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_py-57" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#990">Source</a><a href="#method.into_py-57" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_py" class="fn">into_py</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a><'_>) -> <a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyTuple.html" title="struct pyo3::types::PyTuple">PyTuple</a>></h4></section></summary><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated since 0.23.0: <code>IntoPy</code> is going to be replaced by <code>IntoPyObject</code>. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.</span></div></span></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPy%3CPy%3CPyAny%3E%3E-for-(T0,+T1,+T2,+T3)" class="impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#991-997">Source</a><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-(T0,+T1,+T2,+T3)" class="anchor">§</a><h3 class="code-header">impl<T0: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T1: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T2: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T3: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>> <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyAny.html" title="struct pyo3::types::PyAny">PyAny</a>>> for <a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.tuple.html">(T0, T1, T2, T3)</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_py-58" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#991-997">Source</a><a href="#method.into_py-58" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_py" class="fn">into_py</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a><'_>) -> <a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a></h4></section></summary><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated since 0.23.0: <code>IntoPy</code> is going to be replaced by <code>IntoPyObject</code>. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.</span></div></span></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPy%3CPy%3CPyTuple%3E%3E-for-(T0,+T1,+T2,+T3)" class="impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#991-997">Source</a><a href="#impl-IntoPy%3CPy%3CPyTuple%3E%3E-for-(T0,+T1,+T2,+T3)" class="anchor">§</a><h3 class="code-header">impl<T0: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T1: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T2: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T3: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>> <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyTuple.html" title="struct pyo3::types::PyTuple">PyTuple</a>>> for <a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.tuple.html">(T0, T1, T2, T3)</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_py-59" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#991-997">Source</a><a href="#method.into_py-59" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_py" class="fn">into_py</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a><'_>) -> <a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyTuple.html" title="struct pyo3::types::PyTuple">PyTuple</a>></h4></section></summary><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated since 0.23.0: <code>IntoPy</code> is going to be replaced by <code>IntoPyObject</code>. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.</span></div></span></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPy%3CPy%3CPyAny%3E%3E-for-(T0,+T1,+T2,+T3,+T4)" class="impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#998-1005">Source</a><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-(T0,+T1,+T2,+T3,+T4)" class="anchor">§</a><h3 class="code-header">impl<T0: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T1: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T2: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T3: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T4: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>> <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyAny.html" title="struct pyo3::types::PyAny">PyAny</a>>> for <a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.tuple.html">(T0, T1, T2, T3, T4)</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_py-60" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#998-1005">Source</a><a href="#method.into_py-60" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_py" class="fn">into_py</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a><'_>) -> <a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a></h4></section></summary><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated since 0.23.0: <code>IntoPy</code> is going to be replaced by <code>IntoPyObject</code>. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.</span></div></span></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPy%3CPy%3CPyTuple%3E%3E-for-(T0,+T1,+T2,+T3,+T4)" class="impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#998-1005">Source</a><a href="#impl-IntoPy%3CPy%3CPyTuple%3E%3E-for-(T0,+T1,+T2,+T3,+T4)" class="anchor">§</a><h3 class="code-header">impl<T0: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T1: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T2: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T3: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T4: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>> <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyTuple.html" title="struct pyo3::types::PyTuple">PyTuple</a>>> for <a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.tuple.html">(T0, T1, T2, T3, T4)</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_py-61" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#998-1005">Source</a><a href="#method.into_py-61" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_py" class="fn">into_py</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a><'_>) -> <a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyTuple.html" title="struct pyo3::types::PyTuple">PyTuple</a>></h4></section></summary><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated since 0.23.0: <code>IntoPy</code> is going to be replaced by <code>IntoPyObject</code>. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.</span></div></span></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPy%3CPy%3CPyAny%3E%3E-for-(T0,+T1,+T2,+T3,+T4,+T5)" class="impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#1006-1014">Source</a><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-(T0,+T1,+T2,+T3,+T4,+T5)" class="anchor">§</a><h3 class="code-header">impl<T0: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T1: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T2: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T3: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T4: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T5: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>> <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyAny.html" title="struct pyo3::types::PyAny">PyAny</a>>> for <a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.tuple.html">(T0, T1, T2, T3, T4, T5)</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_py-62" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#1006-1014">Source</a><a href="#method.into_py-62" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_py" class="fn">into_py</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a><'_>) -> <a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a></h4></section></summary><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated since 0.23.0: <code>IntoPy</code> is going to be replaced by <code>IntoPyObject</code>. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.</span></div></span></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPy%3CPy%3CPyTuple%3E%3E-for-(T0,+T1,+T2,+T3,+T4,+T5)" class="impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#1006-1014">Source</a><a href="#impl-IntoPy%3CPy%3CPyTuple%3E%3E-for-(T0,+T1,+T2,+T3,+T4,+T5)" class="anchor">§</a><h3 class="code-header">impl<T0: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T1: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T2: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T3: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T4: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T5: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>> <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyTuple.html" title="struct pyo3::types::PyTuple">PyTuple</a>>> for <a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.tuple.html">(T0, T1, T2, T3, T4, T5)</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_py-63" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#1006-1014">Source</a><a href="#method.into_py-63" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_py" class="fn">into_py</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a><'_>) -> <a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyTuple.html" title="struct pyo3::types::PyTuple">PyTuple</a>></h4></section></summary><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated since 0.23.0: <code>IntoPy</code> is going to be replaced by <code>IntoPyObject</code>. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.</span></div></span></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPy%3CPy%3CPyAny%3E%3E-for-(T0,+T1,+T2,+T3,+T4,+T5,+T6)" class="impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#1015-1024">Source</a><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-(T0,+T1,+T2,+T3,+T4,+T5,+T6)" class="anchor">§</a><h3 class="code-header">impl<T0: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T1: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T2: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T3: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T4: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T5: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T6: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>> <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyAny.html" title="struct pyo3::types::PyAny">PyAny</a>>> for <a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.tuple.html">(T0, T1, T2, T3, T4, T5, T6)</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_py-64" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#1015-1024">Source</a><a href="#method.into_py-64" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_py" class="fn">into_py</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a><'_>) -> <a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a></h4></section></summary><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated since 0.23.0: <code>IntoPy</code> is going to be replaced by <code>IntoPyObject</code>. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.</span></div></span></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPy%3CPy%3CPyTuple%3E%3E-for-(T0,+T1,+T2,+T3,+T4,+T5,+T6)" class="impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#1015-1024">Source</a><a href="#impl-IntoPy%3CPy%3CPyTuple%3E%3E-for-(T0,+T1,+T2,+T3,+T4,+T5,+T6)" class="anchor">§</a><h3 class="code-header">impl<T0: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T1: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T2: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T3: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T4: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T5: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T6: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>> <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyTuple.html" title="struct pyo3::types::PyTuple">PyTuple</a>>> for <a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.tuple.html">(T0, T1, T2, T3, T4, T5, T6)</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_py-65" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#1015-1024">Source</a><a href="#method.into_py-65" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_py" class="fn">into_py</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a><'_>) -> <a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyTuple.html" title="struct pyo3::types::PyTuple">PyTuple</a>></h4></section></summary><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated since 0.23.0: <code>IntoPy</code> is going to be replaced by <code>IntoPyObject</code>. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.</span></div></span></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPy%3CPy%3CPyAny%3E%3E-for-(T0,+T1,+T2,+T3,+T4,+T5,+T6,+T7)" class="impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#1025-1035">Source</a><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-(T0,+T1,+T2,+T3,+T4,+T5,+T6,+T7)" class="anchor">§</a><h3 class="code-header">impl<T0: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T1: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T2: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T3: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T4: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T5: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T6: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T7: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>> <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyAny.html" title="struct pyo3::types::PyAny">PyAny</a>>> for <a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.tuple.html">(T0, T1, T2, T3, T4, T5, T6, T7)</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_py-66" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#1025-1035">Source</a><a href="#method.into_py-66" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_py" class="fn">into_py</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a><'_>) -> <a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a></h4></section></summary><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated since 0.23.0: <code>IntoPy</code> is going to be replaced by <code>IntoPyObject</code>. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.</span></div></span></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPy%3CPy%3CPyTuple%3E%3E-for-(T0,+T1,+T2,+T3,+T4,+T5,+T6,+T7)" class="impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#1025-1035">Source</a><a href="#impl-IntoPy%3CPy%3CPyTuple%3E%3E-for-(T0,+T1,+T2,+T3,+T4,+T5,+T6,+T7)" class="anchor">§</a><h3 class="code-header">impl<T0: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T1: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T2: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T3: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T4: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T5: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T6: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T7: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>> <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyTuple.html" title="struct pyo3::types::PyTuple">PyTuple</a>>> for <a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.tuple.html">(T0, T1, T2, T3, T4, T5, T6, T7)</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_py-67" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#1025-1035">Source</a><a href="#method.into_py-67" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_py" class="fn">into_py</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a><'_>) -> <a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyTuple.html" title="struct pyo3::types::PyTuple">PyTuple</a>></h4></section></summary><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated since 0.23.0: <code>IntoPy</code> is going to be replaced by <code>IntoPyObject</code>. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.</span></div></span></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPy%3CPy%3CPyAny%3E%3E-for-(T0,+T1,+T2,+T3,+T4,+T5,+T6,+T7,+T8)" class="impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#1036-1047">Source</a><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-(T0,+T1,+T2,+T3,+T4,+T5,+T6,+T7,+T8)" class="anchor">§</a><h3 class="code-header">impl<T0: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T1: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T2: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T3: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T4: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T5: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T6: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T7: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T8: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>> <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyAny.html" title="struct pyo3::types::PyAny">PyAny</a>>> for <a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.tuple.html">(T0, T1, T2, T3, T4, T5, T6, T7, T8)</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_py-68" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#1036-1047">Source</a><a href="#method.into_py-68" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_py" class="fn">into_py</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a><'_>) -> <a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a></h4></section></summary><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated since 0.23.0: <code>IntoPy</code> is going to be replaced by <code>IntoPyObject</code>. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.</span></div></span></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPy%3CPy%3CPyTuple%3E%3E-for-(T0,+T1,+T2,+T3,+T4,+T5,+T6,+T7,+T8)" class="impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#1036-1047">Source</a><a href="#impl-IntoPy%3CPy%3CPyTuple%3E%3E-for-(T0,+T1,+T2,+T3,+T4,+T5,+T6,+T7,+T8)" class="anchor">§</a><h3 class="code-header">impl<T0: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T1: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T2: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T3: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T4: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T5: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T6: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T7: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T8: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>> <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyTuple.html" title="struct pyo3::types::PyTuple">PyTuple</a>>> for <a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.tuple.html">(T0, T1, T2, T3, T4, T5, T6, T7, T8)</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_py-69" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#1036-1047">Source</a><a href="#method.into_py-69" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_py" class="fn">into_py</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a><'_>) -> <a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyTuple.html" title="struct pyo3::types::PyTuple">PyTuple</a>></h4></section></summary><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated since 0.23.0: <code>IntoPy</code> is going to be replaced by <code>IntoPyObject</code>. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.</span></div></span></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPy%3CPy%3CPyAny%3E%3E-for-(T0,+T1,+T2,+T3,+T4,+T5,+T6,+T7,+T8,+T9)" class="impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#1048-1060">Source</a><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-(T0,+T1,+T2,+T3,+T4,+T5,+T6,+T7,+T8,+T9)" class="anchor">§</a><h3 class="code-header">impl<T0: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T1: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T2: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T3: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T4: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T5: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T6: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T7: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T8: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T9: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>> <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyAny.html" title="struct pyo3::types::PyAny">PyAny</a>>> for <a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.tuple.html">(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9)</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_py-70" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#1048-1060">Source</a><a href="#method.into_py-70" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_py" class="fn">into_py</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a><'_>) -> <a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a></h4></section></summary><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated since 0.23.0: <code>IntoPy</code> is going to be replaced by <code>IntoPyObject</code>. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.</span></div></span></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPy%3CPy%3CPyTuple%3E%3E-for-(T0,+T1,+T2,+T3,+T4,+T5,+T6,+T7,+T8,+T9)" class="impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#1048-1060">Source</a><a href="#impl-IntoPy%3CPy%3CPyTuple%3E%3E-for-(T0,+T1,+T2,+T3,+T4,+T5,+T6,+T7,+T8,+T9)" class="anchor">§</a><h3 class="code-header">impl<T0: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T1: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T2: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T3: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T4: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T5: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T6: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T7: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T8: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T9: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>> <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyTuple.html" title="struct pyo3::types::PyTuple">PyTuple</a>>> for <a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.tuple.html">(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9)</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_py-71" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#1048-1060">Source</a><a href="#method.into_py-71" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_py" class="fn">into_py</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a><'_>) -> <a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyTuple.html" title="struct pyo3::types::PyTuple">PyTuple</a>></h4></section></summary><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated since 0.23.0: <code>IntoPy</code> is going to be replaced by <code>IntoPyObject</code>. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.</span></div></span></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPy%3CPy%3CPyAny%3E%3E-for-(T0,+T1,+T2,+T3,+T4,+T5,+T6,+T7,+T8,+T9,+T10)" class="impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#1061-1074">Source</a><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-(T0,+T1,+T2,+T3,+T4,+T5,+T6,+T7,+T8,+T9,+T10)" class="anchor">§</a><h3 class="code-header">impl<T0: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T1: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T2: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T3: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T4: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T5: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T6: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T7: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T8: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T9: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T10: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>> <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyAny.html" title="struct pyo3::types::PyAny">PyAny</a>>> for <a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.tuple.html">(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_py-72" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#1061-1074">Source</a><a href="#method.into_py-72" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_py" class="fn">into_py</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a><'_>) -> <a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a></h4></section></summary><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated since 0.23.0: <code>IntoPy</code> is going to be replaced by <code>IntoPyObject</code>. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.</span></div></span></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPy%3CPy%3CPyTuple%3E%3E-for-(T0,+T1,+T2,+T3,+T4,+T5,+T6,+T7,+T8,+T9,+T10)" class="impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#1061-1074">Source</a><a href="#impl-IntoPy%3CPy%3CPyTuple%3E%3E-for-(T0,+T1,+T2,+T3,+T4,+T5,+T6,+T7,+T8,+T9,+T10)" class="anchor">§</a><h3 class="code-header">impl<T0: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T1: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T2: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T3: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T4: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T5: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T6: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T7: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T8: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T9: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T10: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>> <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyTuple.html" title="struct pyo3::types::PyTuple">PyTuple</a>>> for <a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.tuple.html">(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_py-73" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#1061-1074">Source</a><a href="#method.into_py-73" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_py" class="fn">into_py</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a><'_>) -> <a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyTuple.html" title="struct pyo3::types::PyTuple">PyTuple</a>></h4></section></summary><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated since 0.23.0: <code>IntoPy</code> is going to be replaced by <code>IntoPyObject</code>. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.</span></div></span></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPy%3CPy%3CPyAny%3E%3E-for-(T0,+T1,+T2,+T3,+T4,+T5,+T6,+T7,+T8,+T9,+T10,+T11)" class="impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#1076-1090">Source</a><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-(T0,+T1,+T2,+T3,+T4,+T5,+T6,+T7,+T8,+T9,+T10,+T11)" class="anchor">§</a><h3 class="code-header">impl<T0: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T1: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T2: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T3: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T4: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T5: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T6: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T7: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T8: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T9: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T10: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T11: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>> <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyAny.html" title="struct pyo3::types::PyAny">PyAny</a>>> for <a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.tuple.html">(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_py-74" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#1076-1090">Source</a><a href="#method.into_py-74" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_py" class="fn">into_py</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a><'_>) -> <a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a></h4></section></summary><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated since 0.23.0: <code>IntoPy</code> is going to be replaced by <code>IntoPyObject</code>. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.</span></div></span></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPy%3CPy%3CPyTuple%3E%3E-for-(T0,+T1,+T2,+T3,+T4,+T5,+T6,+T7,+T8,+T9,+T10,+T11)" class="impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#1076-1090">Source</a><a href="#impl-IntoPy%3CPy%3CPyTuple%3E%3E-for-(T0,+T1,+T2,+T3,+T4,+T5,+T6,+T7,+T8,+T9,+T10,+T11)" class="anchor">§</a><h3 class="code-header">impl<T0: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T1: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T2: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T3: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T4: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T5: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T6: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T7: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T8: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T9: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T10: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>, T11: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>> <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyTuple.html" title="struct pyo3::types::PyTuple">PyTuple</a>>> for <a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.tuple.html">(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_py-75" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#1076-1090">Source</a><a href="#method.into_py-75" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_py" class="fn">into_py</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a><'_>) -> <a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyTuple.html" title="struct pyo3::types::PyTuple">PyTuple</a>></h4></section></summary><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated since 0.23.0: <code>IntoPy</code> is going to be replaced by <code>IntoPyObject</code>. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.</span></div></span></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPy%3CPy%3CPyAny%3E%3E-for-Option%3CT%3E" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/option.rs.html#20-27">Source</a><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-Option%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyAny.html" title="struct pyo3::types::PyAny">PyAny</a>>> for <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a><T><div class="where">where
|
||
T: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_py-76" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/option.rs.html#24-26">Source</a><a href="#method.into_py-76" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_py" class="fn">into_py</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a><'_>) -> <a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a></h4></section></summary><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated since 0.23.0: <code>IntoPy</code> is going to be replaced by <code>IntoPyObject</code>. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.</span></div></span></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPy%3CPy%3CPyAny%3E%3E-for-Vec%3CT%3E" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/vec.rs.html#32-41">Source</a><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-Vec%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyAny.html" title="struct pyo3::types::PyAny">PyAny</a>>> for <a class="struct" href="https://doc.rust-lang.org/1.85.1/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><T><div class="where">where
|
||
T: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_py-77" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/vec.rs.html#36-40">Source</a><a href="#method.into_py-77" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_py" class="fn">into_py</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a><'_>) -> <a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a></h4></section></summary><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated since 0.23.0: <code>IntoPy</code> is going to be replaced by <code>IntoPyObject</code>. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.</span></div></span></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPy%3CPy%3CPyAny%3E%3E-for-%5BT;+N%5D" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/array.rs.html#11-38">Source</a><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-%5BT;+N%5D" class="anchor">§</a><h3 class="code-header">impl<T, const N: <a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.usize.html">usize</a>> <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyAny.html" title="struct pyo3::types::PyAny">PyAny</a>>> for <a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.array.html">[T; N]</a><div class="where">where
|
||
T: <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_py-78" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/array.rs.html#15-37">Source</a><a href="#method.into_py-78" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_py" class="fn">into_py</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a><'_>) -> <a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a></h4></section></summary><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated since 0.23.0: <code>IntoPy</code> is going to be replaced by <code>IntoPyObject</code>. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.</span></div></span></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPy%3CPy%3CPyAny%3E%3E-for-Cell%3CT%3E" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/cell.rs.html#16-20">Source</a><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-Cell%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<T: <a class="trait" href="https://doc.rust-lang.org/1.85.1/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a> + <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a>>> <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyAny.html" title="struct pyo3::types::PyAny">PyAny</a>>> for <a class="struct" href="https://doc.rust-lang.org/1.85.1/core/cell/struct.Cell.html" title="struct core::cell::Cell">Cell</a><T></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_py-79" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/cell.rs.html#17-19">Source</a><a href="#method.into_py-79" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_py" class="fn">into_py</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a><'_>) -> <a class="type" href="../type.PyObject.html" title="type pyo3::PyObject">PyObject</a></h4></section></summary><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated since 0.23.0: <code>IntoPy</code> is going to be replaced by <code>IntoPyObject</code>. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.</span></div></span></details></div></details><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><section id="impl-IntoPy%3CPy%3CPyAny%3E%3E-for-%26PyErr" class="impl"><a class="src rightside" href="../../src/pyo3/err/mod.rs.html#829-834">Source</a><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-%26PyErr" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyAny.html" title="struct pyo3::types::PyAny">PyAny</a>>> for &<a class="struct" href="../struct.PyErr.html" title="struct pyo3::PyErr">PyErr</a></h3></section><section id="impl-IntoPy%3CPy%3CPyAny%3E%3E-for-PyBackedBytes" class="impl"><a class="src rightside" href="../../src/pyo3/pybacked.rs.html#253-260">Source</a><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-PyBackedBytes" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyAny.html" title="struct pyo3::types::PyAny">PyAny</a>>> for <a class="struct" href="../pybacked/struct.PyBackedBytes.html" title="struct pyo3::pybacked::PyBackedBytes">PyBackedBytes</a></h3></section><section id="impl-IntoPy%3CPy%3CPyAny%3E%3E-for-PyBackedStr" class="impl"><a class="src rightside" href="../../src/pyo3/pybacked.rs.html#103-112">Source</a><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-PyBackedStr" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyAny.html" title="struct pyo3::types::PyAny">PyAny</a>>> for <a class="struct" href="../pybacked/struct.PyBackedStr.html" title="struct pyo3::pybacked::PyBackedStr">PyBackedStr</a></h3></section><section id="impl-IntoPy%3CPy%3CPyAny%3E%3E-for-PyErr" class="impl"><a class="src rightside" href="../../src/pyo3/err/mod.rs.html#813-818">Source</a><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-PyErr" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyAny.html" title="struct pyo3::types::PyAny">PyAny</a>>> for <a class="struct" href="../struct.PyErr.html" title="struct pyo3::PyErr">PyErr</a></h3></section><section id="impl-IntoPy%3CPy%3CPyString%3E%3E-for-%26Bound%3C'_,+PyString%3E" class="impl"><a class="src rightside" href="../../src/pyo3/types/string.rs.html#462-466">Source</a><a href="#impl-IntoPy%3CPy%3CPyString%3E%3E-for-%26Bound%3C'_,+PyString%3E" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyString.html" title="struct pyo3::types::PyString">PyString</a>>> for &<a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a><'_, <a class="struct" href="../types/struct.PyString.html" title="struct pyo3::types::PyString">PyString</a>></h3></section><section id="impl-IntoPy%3CPy%3CPyString%3E%3E-for-%26Py%3CPyString%3E" class="impl"><a class="src rightside" href="../../src/pyo3/types/string.rs.html#469-473">Source</a><a href="#impl-IntoPy%3CPy%3CPyString%3E%3E-for-%26Py%3CPyString%3E" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyString.html" title="struct pyo3::types::PyString">PyString</a>>> for &<a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyString.html" title="struct pyo3::types::PyString">PyString</a>></h3></section><section id="impl-IntoPy%3CPy%3CPyString%3E%3E-for-Bound%3C'_,+PyString%3E" class="impl"><a class="src rightside" href="../../src/pyo3/types/string.rs.html#455-459">Source</a><a href="#impl-IntoPy%3CPy%3CPyString%3E%3E-for-Bound%3C'_,+PyString%3E" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyString.html" title="struct pyo3::types::PyString">PyString</a>>> for <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a><'_, <a class="struct" href="../types/struct.PyString.html" title="struct pyo3::types::PyString">PyString</a>></h3></section><section id="impl-IntoPy%3CPy%3CPyTuple%3E%3E-for-%26Bound%3C'_,+PyTuple%3E" class="impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#616-620">Source</a><a href="#impl-IntoPy%3CPy%3CPyTuple%3E%3E-for-%26Bound%3C'_,+PyTuple%3E" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyTuple.html" title="struct pyo3::types::PyTuple">PyTuple</a>>> for &<a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a><'_, <a class="struct" href="../types/struct.PyTuple.html" title="struct pyo3::types::PyTuple">PyTuple</a>></h3></section><section id="impl-IntoPy%3CPy%3CPyTuple%3E%3E-for-Bound%3C'_,+PyTuple%3E" class="impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#609-613">Source</a><a href="#impl-IntoPy%3CPy%3CPyTuple%3E%3E-for-Bound%3C'_,+PyTuple%3E" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyTuple.html" title="struct pyo3::types::PyTuple">PyTuple</a>>> for <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a><'_, <a class="struct" href="../types/struct.PyTuple.html" title="struct pyo3::types::PyTuple">PyTuple</a>></h3></section><section id="impl-IntoPy%3CPy%3CPyAny%3E%3E-for-%26Bound%3C'_,+T%3E" class="impl"><a class="src rightside" href="../../src/pyo3/instance.rs.html#1791-1797">Source</a><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-%26Bound%3C'_,+T%3E" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyAny.html" title="struct pyo3::types::PyAny">PyAny</a>>> for &<a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a><'_, T></h3></section><section id="impl-IntoPy%3CPy%3CPyAny%3E%3E-for-%26Py%3CT%3E" class="impl"><a class="src rightside" href="../../src/pyo3/instance.rs.html#1765-1770">Source</a><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-%26Py%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyAny.html" title="struct pyo3::types::PyAny">PyAny</a>>> for &<a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><T></h3></section><section id="impl-IntoPy%3CPy%3CPyAny%3E%3E-for-Borrowed%3C'_,+'_,+T%3E" class="impl"><a class="src rightside" href="../../src/pyo3/instance.rs.html#840-846">Source</a><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-Borrowed%3C'_,+'_,+T%3E" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyAny.html" title="struct pyo3::types::PyAny">PyAny</a>>> for <a class="struct" href="../struct.Borrowed.html" title="struct pyo3::Borrowed">Borrowed</a><'_, '_, T></h3></section><section id="impl-IntoPy%3CPy%3CPyAny%3E%3E-for-Bound%3C'_,+T%3E" class="impl"><a class="src rightside" href="../../src/pyo3/instance.rs.html#1782-1788">Source</a><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-Bound%3C'_,+T%3E" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyAny.html" title="struct pyo3::types::PyAny">PyAny</a>>> for <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a><'_, T></h3></section><section id="impl-IntoPy%3CPy%3CPyAny%3E%3E-for-Py%3CT%3E" class="impl"><a class="src rightside" href="../../src/pyo3/instance.rs.html#1755-1762">Source</a><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-Py%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyAny.html" title="struct pyo3::types::PyAny">PyAny</a>>> for <a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><T></h3></section><section id="impl-IntoPy%3CPy%3CPyAny%3E%3E-for-%26PyRef%3C'_,+T%3E" class="impl"><a class="src rightside" href="../../src/pyo3/pycell.rs.html#460-464">Source</a><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-%26PyRef%3C'_,+T%3E" class="anchor">§</a><h3 class="code-header">impl<T: <a class="trait" href="../pyclass/trait.PyClass.html" title="trait pyo3::pyclass::PyClass">PyClass</a>> <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyAny.html" title="struct pyo3::types::PyAny">PyAny</a>>> for &<a class="struct" href="../pycell/struct.PyRef.html" title="struct pyo3::pycell::PyRef">PyRef</a><'_, T></h3></section><section id="impl-IntoPy%3CPy%3CPyAny%3E%3E-for-PyRef%3C'_,+T%3E" class="impl"><a class="src rightside" href="../../src/pyo3/pycell.rs.html#453-457">Source</a><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-PyRef%3C'_,+T%3E" class="anchor">§</a><h3 class="code-header">impl<T: <a class="trait" href="../pyclass/trait.PyClass.html" title="trait pyo3::pyclass::PyClass">PyClass</a>> <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyAny.html" title="struct pyo3::types::PyAny">PyAny</a>>> for <a class="struct" href="../pycell/struct.PyRef.html" title="struct pyo3::pycell::PyRef">PyRef</a><'_, T></h3></section><section id="impl-IntoPy%3CPy%3CPyAny%3E%3E-for-%26PyRefMut%3C'_,+T%3E" class="impl"><a class="src rightside" href="../../src/pyo3/pycell.rs.html#651-655">Source</a><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-%26PyRefMut%3C'_,+T%3E" class="anchor">§</a><h3 class="code-header">impl<T: <a class="trait" href="../pyclass/trait.PyClass.html" title="trait pyo3::pyclass::PyClass">PyClass</a><Frozen = False>> <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyAny.html" title="struct pyo3::types::PyAny">PyAny</a>>> for &<a class="struct" href="../pycell/struct.PyRefMut.html" title="struct pyo3::pycell::PyRefMut">PyRefMut</a><'_, T></h3></section><section id="impl-IntoPy%3CPy%3CPyAny%3E%3E-for-PyRefMut%3C'_,+T%3E" class="impl"><a class="src rightside" href="../../src/pyo3/pycell.rs.html#644-648">Source</a><a href="#impl-IntoPy%3CPy%3CPyAny%3E%3E-for-PyRefMut%3C'_,+T%3E" class="anchor">§</a><h3 class="code-header">impl<T: <a class="trait" href="../pyclass/trait.PyClass.html" title="trait pyo3::pyclass::PyClass">PyClass</a><Frozen = False>> <a class="trait" href="trait.IntoPy.html" title="trait pyo3::conversion::IntoPy">IntoPy</a><<a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a><<a class="struct" href="../types/struct.PyAny.html" title="struct pyo3::types::PyAny">PyAny</a>>> for <a class="struct" href="../pycell/struct.PyRefMut.html" title="struct pyo3::pycell::PyRefMut">PyRefMut</a><'_, T></h3></section></div><script src="../../trait.impl/pyo3/conversion/trait.IntoPy.js" data-ignore-extern-crates="std,core,alloc" async></script></section></div></main></body></html> |