Files
google_speech_rs/docs/pyo3/conversion/trait.IntoPyObject.html
T
2025-04-02 13:41:38 +00:00

304 lines
512 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Defines a conversion from a Rust type to a Python object, which may fail."><title>IntoPyObject 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="#">Into<wbr>PyObject</a></h2><h3><a href="#">Sections</a></h3><ul class="block top-toc"><li><a href="#see-also" title="See also">See also</a></li></ul><h3><a href="#required-associated-types">Required Associated Types</a></h3><ul class="block"><li><a href="#associatedtype.Error" title="Error">Error</a></li><li><a href="#associatedtype.Output" title="Output">Output</a></li><li><a href="#associatedtype.Target" title="Target">Target</a></li></ul><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.into_pyobject" title="into_pyobject">into_pyobject</a></li></ul><h3><a href="#foreign-impls">Implementations on Foreign Types</a></h3><ul class="block"><li><a href="#impl-IntoPyObject%3C'py%3E-for-%26%26T" title="&#38;&#38;&#39;a T">&#38;&#38;&#39;a T</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-%26%26OsStr" title="&#38;&#38;OsStr">&#38;&#38;OsStr</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-%26%26Path" title="&#38;&#38;Path">&#38;&#38;Path</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-%26%26str" title="&#38;&#38;str">&#38;&#38;str</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-%26(T0,+T1)" title="&#38;&#39;a (T0, T1)">&#38;&#39;a (T0, T1)</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-%26(T0,+T1,+T2)" title="&#38;&#39;a (T0, T1, T2)">&#38;&#39;a (T0, T1, T2)</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-%26(T0,+T1,+T2,+T3)" title="&#38;&#39;a (T0, T1, T2, T3)">&#38;&#39;a (T0, T1, T2, T3)</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-%26(T0,+T1,+T2,+T3,+T4)" title="&#38;&#39;a (T0, T1, T2, T3, T4)">&#38;&#39;a (T0, T1, T2, T3, T4)</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-%26(T0,+T1,+T2,+T3,+T4,+T5)" title="&#38;&#39;a (T0, T1, T2, T3, T4, T5)">&#38;&#39;a (T0, T1, T2, T3, T4, T5)</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-%26(T0,+T1,+T2,+T3,+T4,+T5,+T6)" title="&#38;&#39;a (T0, T1, T2, T3, T4, T5, T6)">&#38;&#39;a (T0, T1, T2, T3, T4, T5, T6)</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-%26(T0,+T1,+T2,+T3,+T4,+T5,+T6,+T7)" title="&#38;&#39;a (T0, T1, T2, T3, T4, T5, T6, T7)">&#38;&#39;a (T0, T1, T2, T3, T4, T5, T6, T7)</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-%26(T0,+T1,+T2,+T3,+T4,+T5,+T6,+T7,+T8)" title="&#38;&#39;a (T0, T1, T2, T3, T4, T5, T6, T7, T8)">&#38;&#39;a (T0, T1, T2, T3, T4, T5, T6, T7, T8)</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-%26(T0,+T1,+T2,+T3,+T4,+T5,+T6,+T7,+T8,+T9)" title="&#38;&#39;a (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9)">&#38;&#39;a (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9)</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-%26(T0,+T1,+T2,+T3,+T4,+T5,+T6,+T7,+T8,+T9,+T10)" title="&#38;&#39;a (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)">&#38;&#39;a (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-%26(T0,+T1,+T2,+T3,+T4,+T5,+T6,+T7,+T8,+T9,+T10,+T11)" title="&#38;&#39;a (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)">&#38;&#39;a (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-%26(T0,)" title="&#38;&#39;a (T0,)">&#38;&#39;a (T0,)</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-%26BTreeMap%3CK,+V%3E" title="&#38;&#39;a BTreeMap&#60;K, V&#62;">&#38;&#39;a BTreeMap&#60;K, V&#62;</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-%26BTreeSet%3CK%3E" title="&#38;&#39;a BTreeSet&#60;K&#62;">&#38;&#39;a BTreeSet&#60;K&#62;</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-%26HashMap%3CK,+V,+H%3E" title="&#38;&#39;a HashMap&#60;K, V, H&#62;">&#38;&#39;a HashMap&#60;K, V, H&#62;</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-%26HashSet%3CK,+H%3E" title="&#38;&#39;a HashSet&#60;K, H&#62;">&#38;&#39;a HashSet&#60;K, H&#62;</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-%26Option%3CT%3E" title="&#38;&#39;a Option&#60;T&#62;">&#38;&#39;a Option&#60;T&#62;</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-%26Vec%3CT%3E" title="&#38;&#39;a Vec&#60;T&#62;">&#38;&#39;a Vec&#60;T&#62;</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-%26%5BT;+N%5D" title="&#38;&#39;a [T; N]">&#38;&#39;a [T; N]</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-%26%5BT%5D" title="&#38;&#39;a [T]">&#38;&#39;a [T]</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-%26Cell%3CT%3E" title="&#38;Cell&#60;T&#62;">&#38;Cell&#60;T&#62;</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-%26Cow%3C'_,+OsStr%3E" title="&#38;Cow&#60;&#39;_, OsStr&#62;">&#38;Cow&#60;&#39;_, OsStr&#62;</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-%26Cow%3C'_,+Path%3E" title="&#38;Cow&#60;&#39;_, Path&#62;">&#38;Cow&#60;&#39;_, Path&#62;</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-%26Cow%3C'_,+str%3E" title="&#38;Cow&#60;&#39;_, str&#62;">&#38;Cow&#60;&#39;_, str&#62;</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-%26Duration" title="&#38;Duration">&#38;Duration</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-%26IpAddr" title="&#38;IpAddr">&#38;IpAddr</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-%26Ipv4Addr" title="&#38;Ipv4Addr">&#38;Ipv4Addr</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-%26Ipv6Addr" title="&#38;Ipv6Addr">&#38;Ipv6Addr</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-%26NonZero%3Ci128%3E" title="&#38;NonZeroI128">&#38;NonZeroI128</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-%26NonZero%3Ci16%3E" title="&#38;NonZeroI16">&#38;NonZeroI16</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-%26NonZero%3Ci32%3E" title="&#38;NonZeroI32">&#38;NonZeroI32</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-%26NonZero%3Ci64%3E" title="&#38;NonZeroI64">&#38;NonZeroI64</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-%26NonZero%3Ci8%3E" title="&#38;NonZeroI8">&#38;NonZeroI8</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-%26NonZero%3Cisize%3E" title="&#38;NonZeroIsize">&#38;NonZeroIsize</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-%26NonZero%3Cu128%3E" title="&#38;NonZeroU128">&#38;NonZeroU128</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-%26NonZero%3Cu16%3E" title="&#38;NonZeroU16">&#38;NonZeroU16</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-%26NonZero%3Cu32%3E" title="&#38;NonZeroU32">&#38;NonZeroU32</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-%26NonZero%3Cu64%3E" title="&#38;NonZeroU64">&#38;NonZeroU64</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-%26NonZero%3Cu8%3E" title="&#38;NonZeroU8">&#38;NonZeroU8</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-%26NonZero%3Cusize%3E" title="&#38;NonZeroUsize">&#38;NonZeroUsize</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-%26OsStr" title="&#38;OsStr">&#38;OsStr</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-%26OsString" title="&#38;OsString">&#38;OsString</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-%26Path" title="&#38;Path">&#38;Path</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-%26PathBuf" title="&#38;PathBuf">&#38;PathBuf</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-%26String" title="&#38;String">&#38;String</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-%26SystemTime" title="&#38;SystemTime">&#38;SystemTime</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-%26bool" title="&#38;bool">&#38;bool</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-%26char" title="&#38;char">&#38;char</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-%26f32" title="&#38;f32">&#38;f32</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-%26f64" title="&#38;f64">&#38;f64</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-%26i128" title="&#38;i128">&#38;i128</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-%26i16" title="&#38;i16">&#38;i16</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-%26i32" title="&#38;i32">&#38;i32</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-%26i64" title="&#38;i64">&#38;i64</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-%26i8" title="&#38;i8">&#38;i8</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-%26isize" title="&#38;isize">&#38;isize</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-%26str" title="&#38;str">&#38;str</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-%26u128" title="&#38;u128">&#38;u128</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-%26u16" title="&#38;u16">&#38;u16</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-%26u32" title="&#38;u32">&#38;u32</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-%26u64" title="&#38;u64">&#38;u64</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-%26u8" title="&#38;u8">&#38;u8</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-%26usize" title="&#38;usize">&#38;usize</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-()" title="()">()</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-(T0,+T1)" title="(T0, T1)">(T0, T1)</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-(T0,+T1,+T2)" title="(T0, T1, T2)">(T0, T1, T2)</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-(T0,+T1,+T2,+T3)" title="(T0, T1, T2, T3)">(T0, T1, T2, T3)</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-(T0,+T1,+T2,+T3,+T4)" title="(T0, T1, T2, T3, T4)">(T0, T1, T2, T3, T4)</a></li><li><a href="#impl-IntoPyObject%3C'py%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-IntoPyObject%3C'py%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-IntoPyObject%3C'py%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-IntoPyObject%3C'py%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-IntoPyObject%3C'py%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-IntoPyObject%3C'py%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-IntoPyObject%3C'py%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-IntoPyObject%3C'py%3E-for-(T0,)" title="(T0,)">(T0,)</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-BTreeMap%3CK,+V%3E" title="BTreeMap&#60;K, V&#62;">BTreeMap&#60;K, V&#62;</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-BTreeSet%3CK%3E" title="BTreeSet&#60;K&#62;">BTreeSet&#60;K&#62;</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-Cell%3CT%3E" title="Cell&#60;T&#62;">Cell&#60;T&#62;</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-Cow%3C'_,+OsStr%3E" title="Cow&#60;&#39;_, OsStr&#62;">Cow&#60;&#39;_, OsStr&#62;</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-Cow%3C'_,+Path%3E" title="Cow&#60;&#39;_, Path&#62;">Cow&#60;&#39;_, Path&#62;</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-Cow%3C'_,+%5BT%5D%3E" title="Cow&#60;&#39;_, [T]&#62;">Cow&#60;&#39;_, [T]&#62;</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-Cow%3C'_,+str%3E" title="Cow&#60;&#39;_, str&#62;">Cow&#60;&#39;_, str&#62;</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-Duration" title="Duration">Duration</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-HashMap%3CK,+V,+H%3E" title="HashMap&#60;K, V, H&#62;">HashMap&#60;K, V, H&#62;</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-HashSet%3CK,+S%3E" title="HashSet&#60;K, S&#62;">HashSet&#60;K, S&#62;</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-IpAddr" title="IpAddr">IpAddr</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-Ipv4Addr" title="Ipv4Addr">Ipv4Addr</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-Ipv6Addr" title="Ipv6Addr">Ipv6Addr</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-NonZero%3Ci128%3E" title="NonZeroI128">NonZeroI128</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-NonZero%3Ci16%3E" title="NonZeroI16">NonZeroI16</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-NonZero%3Ci32%3E" title="NonZeroI32">NonZeroI32</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-NonZero%3Ci64%3E" title="NonZeroI64">NonZeroI64</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-NonZero%3Ci8%3E" title="NonZeroI8">NonZeroI8</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-NonZero%3Cisize%3E" title="NonZeroIsize">NonZeroIsize</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-NonZero%3Cu128%3E" title="NonZeroU128">NonZeroU128</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-NonZero%3Cu16%3E" title="NonZeroU16">NonZeroU16</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-NonZero%3Cu32%3E" title="NonZeroU32">NonZeroU32</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-NonZero%3Cu64%3E" title="NonZeroU64">NonZeroU64</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-NonZero%3Cu8%3E" title="NonZeroU8">NonZeroU8</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-NonZero%3Cusize%3E" title="NonZeroUsize">NonZeroUsize</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-Option%3CT%3E" title="Option&#60;T&#62;">Option&#60;T&#62;</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-OsString" title="OsString">OsString</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-PathBuf" title="PathBuf">PathBuf</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-String" title="String">String</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-SystemTime" title="SystemTime">SystemTime</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-Vec%3CT%3E" title="Vec&#60;T&#62;">Vec&#60;T&#62;</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-%5BT;+N%5D" title="[T; N]">[T; N]</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-bool" title="bool">bool</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-char" title="char">char</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-f32" title="f32">f32</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-f64" title="f64">f64</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-i128" title="i128">i128</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-i16" title="i16">i16</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-i32" title="i32">i32</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-i64" title="i64">i64</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-i8" title="i8">i8</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-isize" title="isize">isize</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-u128" title="u128">u128</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-u16" title="u16">u16</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-u32" title="u32">u32</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-u64" title="u64">u64</a></li><li><a href="#impl-IntoPyObject%3C'py%3E-for-u8" title="u8">u8</a></li><li><a href="#impl-IntoPyObject%3C'py%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">IntoPyObject</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#207-267">Source</a> </span></div><pre class="rust item-decl"><code>pub trait IntoPyObject&lt;'py&gt;: <a class="trait" href="https://doc.rust-lang.org/1.85.1/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a> {
type <a href="#associatedtype.Target" class="associatedtype">Target</a>;
type <a href="#associatedtype.Output" class="associatedtype">Output</a>: <a class="trait" href="../trait.BoundObject.html" title="trait pyo3::BoundObject">BoundObject</a>&lt;'py, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;;
type <a href="#associatedtype.Error" class="associatedtype">Error</a>: <a class="trait" href="https://doc.rust-lang.org/1.85.1/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../struct.PyErr.html" title="struct pyo3::PyErr">PyErr</a>&gt;;
// Required method
fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;;
}</code></pre><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, which may fail.</p>
<p>This trait has <code>#[derive(IntoPyObject)]</code> to automatically implement it for simple types and
<code>#[derive(IntoPyObjectRef)]</code> to implement the same for references.</p>
<p>It functions similarly to stds <a href="https://doc.rust-lang.org/1.85.1/core/convert/trait.TryInto.html" title="trait core::convert::TryInto"><code>TryInto</code></a> trait, but requires a <a href="../marker/struct.Python.html" title="struct pyo3::marker::Python">GIL token</a>
as an argument.</p>
<p>The <a href="trait.IntoPyObject.html#tymethod.into_pyobject" title="method pyo3::conversion::IntoPyObject::into_pyobject"><code>into_pyobject</code></a> method is designed for maximum flexibility and efficiency; it</p>
<ul>
<li>allows for a concrete Python type to be returned (the <a href="trait.IntoPyObject.html#associatedtype.Target" title="associated type pyo3::conversion::IntoPyObject::Target"><code>Target</code></a> associated type)</li>
<li>allows for the smart pointer containing the Python object to be either <code>Bound&lt;'py, Self::Target&gt;</code> or <code>Borrowed&lt;'a, 'py, Self::Target&gt;</code>
to avoid unnecessary reference counting overhead</li>
<li>allows for a custom error type to be returned in the event of a conversion error to avoid
unnecessarily creating a Python exception</li>
</ul>
<h2 id="see-also"><a class="doc-anchor" href="#see-also">§</a>See also</h2>
<ul>
<li>The <a href="trait.IntoPyObjectExt.html" title="trait pyo3::conversion::IntoPyObjectExt"><code>IntoPyObjectExt</code></a> trait, which provides convenience methods for common usages of
<code>IntoPyObject</code> which erase type information and convert errors to <code>PyErr</code>.</li>
</ul>
</div></details><h2 id="required-associated-types" class="section-header">Required Associated Types<a href="#required-associated-types" class="anchor">§</a></h2><div class="methods"><details class="toggle" open><summary><section id="associatedtype.Target" class="method"><a class="src rightside" href="../../src/pyo3/conversion.rs.html#209">Source</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a></h4></section></summary><div class="docblock"><p>The Python output type</p>
</div></details><details class="toggle" open><summary><section id="associatedtype.Output" class="method"><a class="src rightside" href="../../src/pyo3/conversion.rs.html#214">Source</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a>: <a class="trait" href="../trait.BoundObject.html" title="trait pyo3::BoundObject">BoundObject</a>&lt;'py, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section></summary><div class="docblock"><p>The smart pointer type to use.</p>
<p>This will usually be [<code>Bound&lt;'py, Target&gt;</code>], but in special cases [<code>Borrowed&lt;'a, 'py, Target&gt;</code>] can be
used to minimize reference counting overhead.</p>
</div></details><details class="toggle" open><summary><section id="associatedtype.Error" class="method"><a class="src rightside" href="../../src/pyo3/conversion.rs.html#216">Source</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a>: <a class="trait" href="https://doc.rust-lang.org/1.85.1/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../struct.PyErr.html" title="struct pyo3::PyErr">PyErr</a>&gt;</h4></section></summary><div class="docblock"><p>The type returned in the event of a conversion error.</p>
</div></details></div><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_pyobject" class="method"><a class="src rightside" href="../../src/pyo3/conversion.rs.html#219">Source</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></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-IntoPyObject%3C'py%3E-for-%26BTreeSet%3CK%3E" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/set.rs.html#150-167">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-%26BTreeSet%3CK%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'a, 'py, K&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; for &amp;'a <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>&lt;K&gt;<div class="where">where
<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.reference.html">&amp;'a K</a>: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; + <a class="trait" href="https://doc.rust-lang.org/1.85.1/core/cmp/trait.Ord.html" title="trait core::cmp::Ord">Ord</a>,
K: 'a,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Target-1" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/set.rs.html#155">Source</a><a href="#associatedtype.Target-1" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PySet.html" title="struct pyo3::types::PySet">PySet</a></h4></section><section id="associatedtype.Output-1" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/set.rs.html#156">Source</a><a href="#associatedtype.Output-1" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;&amp;'a <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>&lt;K&gt; as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-1" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/set.rs.html#157">Source</a><a href="#associatedtype.Error-1" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="struct" href="../struct.PyErr.html" title="struct pyo3::PyErr">PyErr</a></h4></section><section id="method.into_pyobject" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/set.rs.html#159-161">Source</a><a href="#method.into_pyobject" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-%26HashSet%3CK,+H%3E" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/set.rs.html#76-94">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-%26HashSet%3CK,+H%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'a, 'py, K, H&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; for &amp;'a <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>&lt;K, H&gt;<div class="where">where
<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.reference.html">&amp;'a K</a>: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; + <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>,
K: '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"><section id="associatedtype.Target-2" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/set.rs.html#82">Source</a><a href="#associatedtype.Target-2" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PySet.html" title="struct pyo3::types::PySet">PySet</a></h4></section><section id="associatedtype.Output-2" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/set.rs.html#83">Source</a><a href="#associatedtype.Output-2" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;&amp;'a <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>&lt;K, H&gt; as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-2" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/set.rs.html#84">Source</a><a href="#associatedtype.Error-2" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="struct" href="../struct.PyErr.html" title="struct pyo3::PyErr">PyErr</a></h4></section><section id="method.into_pyobject-1" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/set.rs.html#86-88">Source</a><a href="#method.into_pyobject-1" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-%26BTreeMap%3CK,+V%3E" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/map.rs.html#149-172">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-%26BTreeMap%3CK,+V%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'a, 'py, K, V&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; for &amp;'a <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>&lt;K, V&gt;<div class="where">where
<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.reference.html">&amp;'a K</a>: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; + <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="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.reference.html">&amp;'a V</a>: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
K: 'a,
V: 'a,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Target-3" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/map.rs.html#156">Source</a><a href="#associatedtype.Target-3" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyDict.html" title="struct pyo3::types::PyDict">PyDict</a></h4></section><section id="associatedtype.Output-3" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/map.rs.html#157">Source</a><a href="#associatedtype.Output-3" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;&amp;'a <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>&lt;K, V&gt; as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-3" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/map.rs.html#158">Source</a><a href="#associatedtype.Error-3" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="struct" href="../struct.PyErr.html" title="struct pyo3::PyErr">PyErr</a></h4></section><section id="method.into_pyobject-2" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/map.rs.html#160-166">Source</a><a href="#method.into_pyobject-2" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-%26HashMap%3CK,+V,+H%3E" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/map.rs.html#85-109">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-%26HashMap%3CK,+V,+H%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'a, 'py, K, V, H&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; for &amp;'a <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>&lt;K, V, H&gt;<div class="where">where
<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.reference.html">&amp;'a K</a>: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; + <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>,
<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.reference.html">&amp;'a V</a>: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
K: 'a,
V: '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"><section id="associatedtype.Target-4" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/map.rs.html#93">Source</a><a href="#associatedtype.Target-4" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyDict.html" title="struct pyo3::types::PyDict">PyDict</a></h4></section><section id="associatedtype.Output-4" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/map.rs.html#94">Source</a><a href="#associatedtype.Output-4" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;&amp;'a <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>&lt;K, V, H&gt; as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-4" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/map.rs.html#95">Source</a><a href="#associatedtype.Error-4" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="struct" href="../struct.PyErr.html" title="struct pyo3::PyErr">PyErr</a></h4></section><section id="method.into_pyobject-3" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/map.rs.html#97-103">Source</a><a href="#method.into_pyobject-3" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-%26(T0,)" class="impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#988">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-%26(T0,)" class="anchor">§</a><h3 class="code-header">impl&lt;'a, 'py, T0&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; for &amp;'a <a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.tuple.html">(T0,)</a><div class="where">where
<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.reference.html">&amp;'a T0</a>: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
T0: 'a,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Target-5" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#988">Source</a><a href="#associatedtype.Target-5" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyTuple.html" title="struct pyo3::types::PyTuple">PyTuple</a></h4></section><section id="associatedtype.Output-5" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#988">Source</a><a href="#associatedtype.Output-5" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;&amp;'a <a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.tuple.html">(T0,)</a> as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-5" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#988">Source</a><a href="#associatedtype.Error-5" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="struct" href="../struct.PyErr.html" title="struct pyo3::PyErr">PyErr</a></h4></section><section id="method.into_pyobject-4" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#988">Source</a><a href="#method.into_pyobject-4" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-%26(T0,+T1)" class="impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#989">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-%26(T0,+T1)" class="anchor">§</a><h3 class="code-header">impl&lt;'a, 'py, T0, T1&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; for &amp;'a <a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.tuple.html">(T0, T1)</a><div class="where">where
<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.reference.html">&amp;'a T0</a>: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.reference.html">&amp;'a T1</a>: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
T0: 'a,
T1: 'a,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Target-6" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#989">Source</a><a href="#associatedtype.Target-6" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyTuple.html" title="struct pyo3::types::PyTuple">PyTuple</a></h4></section><section id="associatedtype.Output-6" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#989">Source</a><a href="#associatedtype.Output-6" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;&amp;'a <a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.tuple.html">(T0, T1)</a> as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-6" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#989">Source</a><a href="#associatedtype.Error-6" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="struct" href="../struct.PyErr.html" title="struct pyo3::PyErr">PyErr</a></h4></section><section id="method.into_pyobject-5" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#989">Source</a><a href="#method.into_pyobject-5" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-%26(T0,+T1,+T2)" class="impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#990">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-%26(T0,+T1,+T2)" class="anchor">§</a><h3 class="code-header">impl&lt;'a, 'py, T0, T1, T2&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; for &amp;'a <a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.tuple.html">(T0, T1, T2)</a><div class="where">where
<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.reference.html">&amp;'a T0</a>: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.reference.html">&amp;'a T1</a>: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.reference.html">&amp;'a T2</a>: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
T0: 'a,
T1: 'a,
T2: 'a,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Target-7" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#990">Source</a><a href="#associatedtype.Target-7" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyTuple.html" title="struct pyo3::types::PyTuple">PyTuple</a></h4></section><section id="associatedtype.Output-7" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#990">Source</a><a href="#associatedtype.Output-7" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;&amp;'a <a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.tuple.html">(T0, T1, T2)</a> as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-7" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#990">Source</a><a href="#associatedtype.Error-7" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="struct" href="../struct.PyErr.html" title="struct pyo3::PyErr">PyErr</a></h4></section><section id="method.into_pyobject-6" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#990">Source</a><a href="#method.into_pyobject-6" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-%26(T0,+T1,+T2,+T3)" class="impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#991-997">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-%26(T0,+T1,+T2,+T3)" class="anchor">§</a><h3 class="code-header">impl&lt;'a, 'py, T0, T1, T2, T3&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; for &amp;'a <a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.tuple.html">(T0, T1, T2, T3)</a><div class="where">where
<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.reference.html">&amp;'a T0</a>: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.reference.html">&amp;'a T1</a>: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.reference.html">&amp;'a T2</a>: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.reference.html">&amp;'a T3</a>: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
T0: 'a,
T1: 'a,
T2: 'a,
T3: 'a,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Target-8" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#991-997">Source</a><a href="#associatedtype.Target-8" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyTuple.html" title="struct pyo3::types::PyTuple">PyTuple</a></h4></section><section id="associatedtype.Output-8" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#991-997">Source</a><a href="#associatedtype.Output-8" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;&amp;'a <a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.tuple.html">(T0, T1, T2, T3)</a> as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-8" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#991-997">Source</a><a href="#associatedtype.Error-8" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="struct" href="../struct.PyErr.html" title="struct pyo3::PyErr">PyErr</a></h4></section><section id="method.into_pyobject-7" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#991-997">Source</a><a href="#method.into_pyobject-7" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-%26(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-IntoPyObject%3C'py%3E-for-%26(T0,+T1,+T2,+T3,+T4)" class="anchor">§</a><h3 class="code-header">impl&lt;'a, 'py, T0, T1, T2, T3, T4&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; for &amp;'a <a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.tuple.html">(T0, T1, T2, T3, T4)</a><div class="where">where
<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.reference.html">&amp;'a T0</a>: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.reference.html">&amp;'a T1</a>: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.reference.html">&amp;'a T2</a>: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.reference.html">&amp;'a T3</a>: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.reference.html">&amp;'a T4</a>: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
T0: 'a,
T1: 'a,
T2: 'a,
T3: 'a,
T4: 'a,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Target-9" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#998-1005">Source</a><a href="#associatedtype.Target-9" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyTuple.html" title="struct pyo3::types::PyTuple">PyTuple</a></h4></section><section id="associatedtype.Output-9" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#998-1005">Source</a><a href="#associatedtype.Output-9" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;&amp;'a <a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.tuple.html">(T0, T1, T2, T3, T4)</a> as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-9" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#998-1005">Source</a><a href="#associatedtype.Error-9" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="struct" href="../struct.PyErr.html" title="struct pyo3::PyErr">PyErr</a></h4></section><section id="method.into_pyobject-8" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#998-1005">Source</a><a href="#method.into_pyobject-8" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-%26(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-IntoPyObject%3C'py%3E-for-%26(T0,+T1,+T2,+T3,+T4,+T5)" class="anchor">§</a><h3 class="code-header">impl&lt;'a, 'py, T0, T1, T2, T3, T4, T5&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; for &amp;'a <a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.tuple.html">(T0, T1, T2, T3, T4, T5)</a><div class="where">where
<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.reference.html">&amp;'a T0</a>: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.reference.html">&amp;'a T1</a>: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.reference.html">&amp;'a T2</a>: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.reference.html">&amp;'a T3</a>: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.reference.html">&amp;'a T4</a>: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.reference.html">&amp;'a T5</a>: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
T0: 'a,
T1: 'a,
T2: 'a,
T3: 'a,
T4: 'a,
T5: 'a,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Target-10" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#1006-1014">Source</a><a href="#associatedtype.Target-10" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyTuple.html" title="struct pyo3::types::PyTuple">PyTuple</a></h4></section><section id="associatedtype.Output-10" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#1006-1014">Source</a><a href="#associatedtype.Output-10" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;&amp;'a <a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.tuple.html">(T0, T1, T2, T3, T4, T5)</a> as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-10" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#1006-1014">Source</a><a href="#associatedtype.Error-10" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="struct" href="../struct.PyErr.html" title="struct pyo3::PyErr">PyErr</a></h4></section><section id="method.into_pyobject-9" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#1006-1014">Source</a><a href="#method.into_pyobject-9" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-%26(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-IntoPyObject%3C'py%3E-for-%26(T0,+T1,+T2,+T3,+T4,+T5,+T6)" class="anchor">§</a><h3 class="code-header">impl&lt;'a, 'py, T0, T1, T2, T3, T4, T5, T6&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; for &amp;'a <a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.tuple.html">(T0, T1, T2, T3, T4, T5, T6)</a><div class="where">where
<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.reference.html">&amp;'a T0</a>: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.reference.html">&amp;'a T1</a>: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.reference.html">&amp;'a T2</a>: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.reference.html">&amp;'a T3</a>: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.reference.html">&amp;'a T4</a>: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.reference.html">&amp;'a T5</a>: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.reference.html">&amp;'a T6</a>: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
T0: 'a,
T1: 'a,
T2: 'a,
T3: 'a,
T4: 'a,
T5: 'a,
T6: 'a,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Target-11" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#1015-1024">Source</a><a href="#associatedtype.Target-11" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyTuple.html" title="struct pyo3::types::PyTuple">PyTuple</a></h4></section><section id="associatedtype.Output-11" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#1015-1024">Source</a><a href="#associatedtype.Output-11" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;&amp;'a <a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.tuple.html">(T0, T1, T2, T3, T4, T5, T6)</a> as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-11" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#1015-1024">Source</a><a href="#associatedtype.Error-11" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="struct" href="../struct.PyErr.html" title="struct pyo3::PyErr">PyErr</a></h4></section><section id="method.into_pyobject-10" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#1015-1024">Source</a><a href="#method.into_pyobject-10" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-%26(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-IntoPyObject%3C'py%3E-for-%26(T0,+T1,+T2,+T3,+T4,+T5,+T6,+T7)" class="anchor">§</a><h3 class="code-header">impl&lt;'a, 'py, T0, T1, T2, T3, T4, T5, T6, T7&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; for &amp;'a <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><div class="where">where
<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.reference.html">&amp;'a T0</a>: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.reference.html">&amp;'a T1</a>: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.reference.html">&amp;'a T2</a>: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.reference.html">&amp;'a T3</a>: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.reference.html">&amp;'a T4</a>: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.reference.html">&amp;'a T5</a>: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.reference.html">&amp;'a T6</a>: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.reference.html">&amp;'a T7</a>: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
T0: 'a,
T1: 'a,
T2: 'a,
T3: 'a,
T4: 'a,
T5: 'a,
T6: 'a,
T7: 'a,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Target-12" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#1025-1035">Source</a><a href="#associatedtype.Target-12" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyTuple.html" title="struct pyo3::types::PyTuple">PyTuple</a></h4></section><section id="associatedtype.Output-12" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#1025-1035">Source</a><a href="#associatedtype.Output-12" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;&amp;'a <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> as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-12" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#1025-1035">Source</a><a href="#associatedtype.Error-12" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="struct" href="../struct.PyErr.html" title="struct pyo3::PyErr">PyErr</a></h4></section><section id="method.into_pyobject-11" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#1025-1035">Source</a><a href="#method.into_pyobject-11" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-%26(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-IntoPyObject%3C'py%3E-for-%26(T0,+T1,+T2,+T3,+T4,+T5,+T6,+T7,+T8)" class="anchor">§</a><h3 class="code-header">impl&lt;'a, 'py, T0, T1, T2, T3, T4, T5, T6, T7, T8&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; for &amp;'a <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><div class="where">where
<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.reference.html">&amp;'a T0</a>: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.reference.html">&amp;'a T1</a>: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.reference.html">&amp;'a T2</a>: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.reference.html">&amp;'a T3</a>: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.reference.html">&amp;'a T4</a>: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.reference.html">&amp;'a T5</a>: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.reference.html">&amp;'a T6</a>: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.reference.html">&amp;'a T7</a>: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.reference.html">&amp;'a T8</a>: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
T0: 'a,
T1: 'a,
T2: 'a,
T3: 'a,
T4: 'a,
T5: 'a,
T6: 'a,
T7: 'a,
T8: 'a,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Target-13" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#1036-1047">Source</a><a href="#associatedtype.Target-13" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyTuple.html" title="struct pyo3::types::PyTuple">PyTuple</a></h4></section><section id="associatedtype.Output-13" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#1036-1047">Source</a><a href="#associatedtype.Output-13" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;&amp;'a <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> as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-13" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#1036-1047">Source</a><a href="#associatedtype.Error-13" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="struct" href="../struct.PyErr.html" title="struct pyo3::PyErr">PyErr</a></h4></section><section id="method.into_pyobject-12" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#1036-1047">Source</a><a href="#method.into_pyobject-12" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-%26(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-IntoPyObject%3C'py%3E-for-%26(T0,+T1,+T2,+T3,+T4,+T5,+T6,+T7,+T8,+T9)" class="anchor">§</a><h3 class="code-header">impl&lt;'a, 'py, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; for &amp;'a <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><div class="where">where
<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.reference.html">&amp;'a T0</a>: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.reference.html">&amp;'a T1</a>: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.reference.html">&amp;'a T2</a>: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.reference.html">&amp;'a T3</a>: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.reference.html">&amp;'a T4</a>: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.reference.html">&amp;'a T5</a>: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.reference.html">&amp;'a T6</a>: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.reference.html">&amp;'a T7</a>: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.reference.html">&amp;'a T8</a>: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.reference.html">&amp;'a T9</a>: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
T0: 'a,
T1: 'a,
T2: 'a,
T3: 'a,
T4: 'a,
T5: 'a,
T6: 'a,
T7: 'a,
T8: 'a,
T9: 'a,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Target-14" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#1048-1060">Source</a><a href="#associatedtype.Target-14" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyTuple.html" title="struct pyo3::types::PyTuple">PyTuple</a></h4></section><section id="associatedtype.Output-14" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#1048-1060">Source</a><a href="#associatedtype.Output-14" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;&amp;'a <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> as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-14" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#1048-1060">Source</a><a href="#associatedtype.Error-14" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="struct" href="../struct.PyErr.html" title="struct pyo3::PyErr">PyErr</a></h4></section><section id="method.into_pyobject-13" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#1048-1060">Source</a><a href="#method.into_pyobject-13" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-%26(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-IntoPyObject%3C'py%3E-for-%26(T0,+T1,+T2,+T3,+T4,+T5,+T6,+T7,+T8,+T9,+T10)" class="anchor">§</a><h3 class="code-header">impl&lt;'a, 'py, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; for &amp;'a <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><div class="where">where
<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.reference.html">&amp;'a T0</a>: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.reference.html">&amp;'a T1</a>: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.reference.html">&amp;'a T2</a>: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.reference.html">&amp;'a T3</a>: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.reference.html">&amp;'a T4</a>: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.reference.html">&amp;'a T5</a>: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.reference.html">&amp;'a T6</a>: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.reference.html">&amp;'a T7</a>: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.reference.html">&amp;'a T8</a>: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.reference.html">&amp;'a T9</a>: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.reference.html">&amp;'a T10</a>: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
T0: 'a,
T1: 'a,
T2: 'a,
T3: 'a,
T4: 'a,
T5: 'a,
T6: 'a,
T7: 'a,
T8: 'a,
T9: 'a,
T10: 'a,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Target-15" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#1061-1074">Source</a><a href="#associatedtype.Target-15" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyTuple.html" title="struct pyo3::types::PyTuple">PyTuple</a></h4></section><section id="associatedtype.Output-15" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#1061-1074">Source</a><a href="#associatedtype.Output-15" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;&amp;'a <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> as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-15" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#1061-1074">Source</a><a href="#associatedtype.Error-15" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="struct" href="../struct.PyErr.html" title="struct pyo3::PyErr">PyErr</a></h4></section><section id="method.into_pyobject-14" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#1061-1074">Source</a><a href="#method.into_pyobject-14" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-%26(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-IntoPyObject%3C'py%3E-for-%26(T0,+T1,+T2,+T3,+T4,+T5,+T6,+T7,+T8,+T9,+T10,+T11)" class="anchor">§</a><h3 class="code-header">impl&lt;'a, 'py, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; for &amp;'a <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><div class="where">where
<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.reference.html">&amp;'a T0</a>: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.reference.html">&amp;'a T1</a>: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.reference.html">&amp;'a T2</a>: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.reference.html">&amp;'a T3</a>: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.reference.html">&amp;'a T4</a>: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.reference.html">&amp;'a T5</a>: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.reference.html">&amp;'a T6</a>: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.reference.html">&amp;'a T7</a>: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.reference.html">&amp;'a T8</a>: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.reference.html">&amp;'a T9</a>: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.reference.html">&amp;'a T10</a>: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.reference.html">&amp;'a T11</a>: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
T0: 'a,
T1: 'a,
T2: 'a,
T3: 'a,
T4: 'a,
T5: 'a,
T6: 'a,
T7: 'a,
T8: 'a,
T9: 'a,
T10: 'a,
T11: 'a,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Target-16" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#1076-1090">Source</a><a href="#associatedtype.Target-16" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyTuple.html" title="struct pyo3::types::PyTuple">PyTuple</a></h4></section><section id="associatedtype.Output-16" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#1076-1090">Source</a><a href="#associatedtype.Output-16" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;&amp;'a <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> as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-16" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#1076-1090">Source</a><a href="#associatedtype.Error-16" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="struct" href="../struct.PyErr.html" title="struct pyo3::PyErr">PyErr</a></h4></section><section id="method.into_pyobject-15" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#1076-1090">Source</a><a href="#method.into_pyobject-15" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-%26Option%3CT%3E" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/option.rs.html#49-61">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-%26Option%3CT%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'a, 'py, T&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; for &amp;'a <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;T&gt;<div class="where">where
<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.reference.html">&amp;'a T</a>: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Target-17" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/option.rs.html#53">Source</a><a href="#associatedtype.Target-17" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyAny.html" title="struct pyo3::types::PyAny">PyAny</a></h4></section><section id="associatedtype.Output-17" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/option.rs.html#54">Source</a><a href="#associatedtype.Output-17" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;&amp;'a <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;T&gt; as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-17" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/option.rs.html#55">Source</a><a href="#associatedtype.Error-17" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = &lt;<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.reference.html">&amp;'a T</a> as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a></h4></section><section id="method.into_pyobject-16" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/option.rs.html#58-60">Source</a><a href="#method.into_pyobject-16" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-%26%5BT%5D" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/slice.rs.html#20-45">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-%26%5BT%5D" class="anchor">§</a><h3 class="code-header">impl&lt;'a, 'py, T&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; for &amp;'a <a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.slice.html">[T]</a><div class="where">where
<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.reference.html">&amp;'a T</a>: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
T: 'a,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_pyobject-17" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/slice.rs.html#34-36">Source</a><a href="#method.into_pyobject-17" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></summary><div class="docblock"><p>Turns <a href="https://doc.rust-lang.org/1.85.1/alloc/slice/index.html" title="mod alloc::slice"><code>&amp;[u8]</code></a> into <a href="../types/struct.PyBytes.html" title="struct pyo3::types::PyBytes"><code>PyBytes</code></a>, all other <code>T</code>s will be turned into a <a href="../types/struct.PyList.html" title="struct pyo3::types::PyList"><code>PyList</code></a></p>
</div></details><section id="associatedtype.Target-18" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/slice.rs.html#25">Source</a><a href="#associatedtype.Target-18" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyAny.html" title="struct pyo3::types::PyAny">PyAny</a></h4></section><section id="associatedtype.Output-18" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/slice.rs.html#26">Source</a><a href="#associatedtype.Output-18" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;&amp;'a <a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.slice.html">[T]</a> as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-18" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/slice.rs.html#27">Source</a><a href="#associatedtype.Error-18" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="struct" href="../struct.PyErr.html" title="struct pyo3::PyErr">PyErr</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-%26Vec%3CT%3E" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/vec.rs.html#66-87">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-%26Vec%3CT%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'a, 'py, T&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; for &amp;'a <a class="struct" href="https://doc.rust-lang.org/1.85.1/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;T&gt;<div class="where">where
<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.reference.html">&amp;'a T</a>: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
T: 'a,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Target-19" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/vec.rs.html#71">Source</a><a href="#associatedtype.Target-19" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyAny.html" title="struct pyo3::types::PyAny">PyAny</a></h4></section><section id="associatedtype.Output-19" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/vec.rs.html#72">Source</a><a href="#associatedtype.Output-19" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;&amp;'a <a class="struct" href="https://doc.rust-lang.org/1.85.1/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;T&gt; as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-19" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/vec.rs.html#73">Source</a><a href="#associatedtype.Error-19" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="struct" href="../struct.PyErr.html" title="struct pyo3::PyErr">PyErr</a></h4></section><section id="method.into_pyobject-18" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/vec.rs.html#76-81">Source</a><a href="#method.into_pyobject-18" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-%26%26T" class="impl"><a class="src rightside" href="../../src/pyo3/conversion.rs.html#341-353">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-%26%26T" class="anchor">§</a><h3 class="code-header">impl&lt;'a, 'py, T&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; for &amp;<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.reference.html">&amp;'a T</a><div class="where">where
<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.reference.html">&amp;'a T</a>: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Target-20" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversion.rs.html#345">Source</a><a href="#associatedtype.Target-20" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = &lt;<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.reference.html">&amp;'a T</a> as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a></h4></section><section id="associatedtype.Output-20" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversion.rs.html#346">Source</a><a href="#associatedtype.Output-20" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = &lt;<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.reference.html">&amp;'a T</a> as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a></h4></section><section id="associatedtype.Error-20" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversion.rs.html#347">Source</a><a href="#associatedtype.Error-20" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = &lt;<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.reference.html">&amp;'a T</a> as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a></h4></section><section id="method.into_pyobject-19" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversion.rs.html#350-352">Source</a><a href="#method.into_pyobject-19" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-%26%5BT;+N%5D" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/array.rs.html#58-70">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-%26%5BT;+N%5D" class="anchor">§</a><h3 class="code-header">impl&lt;'a, 'py, T, const N: <a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.usize.html">usize</a>&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; for &amp;'a <a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.array.html">[T; N]</a><div class="where">where
<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.reference.html">&amp;'a T</a>: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Target-21" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/array.rs.html#62">Source</a><a href="#associatedtype.Target-21" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyAny.html" title="struct pyo3::types::PyAny">PyAny</a></h4></section><section id="associatedtype.Output-21" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/array.rs.html#63">Source</a><a href="#associatedtype.Output-21" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;&amp;'a <a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.array.html">[T; N]</a> as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-21" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/array.rs.html#64">Source</a><a href="#associatedtype.Error-21" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="struct" href="../struct.PyErr.html" title="struct pyo3::PyErr">PyErr</a></h4></section><section id="method.into_pyobject-20" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/array.rs.html#67-69">Source</a><a href="#method.into_pyobject-20" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-%26%26str" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/string.rs.html#56-70">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-%26%26str" class="anchor">§</a><h3 class="code-header">impl&lt;'py&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; for &amp;&amp;<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"><section id="associatedtype.Target-22" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/string.rs.html#57">Source</a><a href="#associatedtype.Target-22" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyString.html" title="struct pyo3::types::PyString">PyString</a></h4></section><section id="associatedtype.Output-22" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/string.rs.html#58">Source</a><a href="#associatedtype.Output-22" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;&amp;&amp;<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.str.html">str</a> as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-22" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/string.rs.html#59">Source</a><a href="#associatedtype.Error-22" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section><section id="method.into_pyobject-21" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/string.rs.html#62-64">Source</a><a href="#method.into_pyobject-21" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-%26%26OsStr" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/osstr.rs.html#70-79">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-%26%26OsStr" class="anchor">§</a><h3 class="code-header">impl&lt;'py&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; for &amp;&amp;<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"><section id="associatedtype.Target-23" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/osstr.rs.html#71">Source</a><a href="#associatedtype.Target-23" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyString.html" title="struct pyo3::types::PyString">PyString</a></h4></section><section id="associatedtype.Output-23" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/osstr.rs.html#72">Source</a><a href="#associatedtype.Output-23" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;&amp;&amp;<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> as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-23" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/osstr.rs.html#73">Source</a><a href="#associatedtype.Error-23" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section><section id="method.into_pyobject-22" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/osstr.rs.html#76-78">Source</a><a href="#method.into_pyobject-22" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-%26%26Path" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/path.rs.html#53-62">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-%26%26Path" class="anchor">§</a><h3 class="code-header">impl&lt;'py&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; for &amp;&amp;<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"><section id="associatedtype.Target-24" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/path.rs.html#54">Source</a><a href="#associatedtype.Target-24" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyAny.html" title="struct pyo3::types::PyAny">PyAny</a></h4></section><section id="associatedtype.Output-24" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/path.rs.html#55">Source</a><a href="#associatedtype.Output-24" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;&amp;&amp;<a class="struct" href="https://doc.rust-lang.org/1.85.1/std/path/struct.Path.html" title="struct std::path::Path">Path</a> as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-24" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/path.rs.html#56">Source</a><a href="#associatedtype.Error-24" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="struct" href="../struct.PyErr.html" title="struct pyo3::PyErr">PyErr</a></h4></section><section id="method.into_pyobject-23" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/path.rs.html#59-61">Source</a><a href="#method.into_pyobject-23" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-%26Cow%3C'_,+str%3E" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/string.rs.html#106-120">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-%26Cow%3C'_,+str%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'py&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; for &amp;<a class="enum" href="https://doc.rust-lang.org/1.85.1/alloc/borrow/enum.Cow.html" title="enum alloc::borrow::Cow">Cow</a>&lt;'_, <a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.str.html">str</a>&gt;</h3></section></summary><div class="impl-items"><section id="associatedtype.Target-25" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/string.rs.html#107">Source</a><a href="#associatedtype.Target-25" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyString.html" title="struct pyo3::types::PyString">PyString</a></h4></section><section id="associatedtype.Output-25" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/string.rs.html#108">Source</a><a href="#associatedtype.Output-25" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;&amp;<a class="enum" href="https://doc.rust-lang.org/1.85.1/alloc/borrow/enum.Cow.html" title="enum alloc::borrow::Cow">Cow</a>&lt;'_, <a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.str.html">str</a>&gt; as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-25" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/string.rs.html#109">Source</a><a href="#associatedtype.Error-25" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section><section id="method.into_pyobject-24" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/string.rs.html#112-114">Source</a><a href="#method.into_pyobject-24" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-%26Cow%3C'_,+OsStr%3E" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/osstr.rs.html#172-181">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-%26Cow%3C'_,+OsStr%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'py&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; for &amp;<a class="enum" href="https://doc.rust-lang.org/1.85.1/alloc/borrow/enum.Cow.html" title="enum alloc::borrow::Cow">Cow</a>&lt;'_, <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>&gt;</h3></section></summary><div class="impl-items"><section id="associatedtype.Target-26" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/osstr.rs.html#173">Source</a><a href="#associatedtype.Target-26" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyString.html" title="struct pyo3::types::PyString">PyString</a></h4></section><section id="associatedtype.Output-26" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/osstr.rs.html#174">Source</a><a href="#associatedtype.Output-26" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;&amp;<a class="enum" href="https://doc.rust-lang.org/1.85.1/alloc/borrow/enum.Cow.html" title="enum alloc::borrow::Cow">Cow</a>&lt;'_, <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>&gt; as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-26" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/osstr.rs.html#175">Source</a><a href="#associatedtype.Error-26" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section><section id="method.into_pyobject-25" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/osstr.rs.html#178-180">Source</a><a href="#method.into_pyobject-25" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-%26Cow%3C'_,+Path%3E" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/path.rs.html#91-100">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-%26Cow%3C'_,+Path%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'py&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; for &amp;<a class="enum" href="https://doc.rust-lang.org/1.85.1/alloc/borrow/enum.Cow.html" title="enum alloc::borrow::Cow">Cow</a>&lt;'_, <a class="struct" href="https://doc.rust-lang.org/1.85.1/std/path/struct.Path.html" title="struct std::path::Path">Path</a>&gt;</h3></section></summary><div class="impl-items"><section id="associatedtype.Target-27" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/path.rs.html#92">Source</a><a href="#associatedtype.Target-27" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyAny.html" title="struct pyo3::types::PyAny">PyAny</a></h4></section><section id="associatedtype.Output-27" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/path.rs.html#93">Source</a><a href="#associatedtype.Output-27" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;&amp;<a class="enum" href="https://doc.rust-lang.org/1.85.1/alloc/borrow/enum.Cow.html" title="enum alloc::borrow::Cow">Cow</a>&lt;'_, <a class="struct" href="https://doc.rust-lang.org/1.85.1/std/path/struct.Path.html" title="struct std::path::Path">Path</a>&gt; as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-27" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/path.rs.html#94">Source</a><a href="#associatedtype.Error-27" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="struct" href="../struct.PyErr.html" title="struct pyo3::PyErr">PyErr</a></h4></section><section id="method.into_pyobject-26" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/path.rs.html#97-99">Source</a><a href="#method.into_pyobject-26" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-%26IpAddr" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/ipaddr.rs.html#127-136">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-%26IpAddr" class="anchor">§</a><h3 class="code-header">impl&lt;'py&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; for &amp;<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"><section id="associatedtype.Target-28" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/ipaddr.rs.html#128">Source</a><a href="#associatedtype.Target-28" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyAny.html" title="struct pyo3::types::PyAny">PyAny</a></h4></section><section id="associatedtype.Output-28" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/ipaddr.rs.html#129">Source</a><a href="#associatedtype.Output-28" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;&amp;<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> as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-28" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/ipaddr.rs.html#130">Source</a><a href="#associatedtype.Error-28" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="struct" href="../struct.PyErr.html" title="struct pyo3::PyErr">PyErr</a></h4></section><section id="method.into_pyobject-27" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/ipaddr.rs.html#133-135">Source</a><a href="#method.into_pyobject-27" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-%26bool" class="impl"><a class="src rightside" href="../../src/pyo3/types/boolobject.rs.html#181-195">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-%26bool" class="anchor">§</a><h3 class="code-header">impl&lt;'py&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; for &amp;<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"><section id="associatedtype.Target-29" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/types/boolobject.rs.html#182">Source</a><a href="#associatedtype.Target-29" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyBool.html" title="struct pyo3::types::PyBool">PyBool</a></h4></section><section id="associatedtype.Output-29" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/types/boolobject.rs.html#183">Source</a><a href="#associatedtype.Output-29" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Borrowed.html" title="struct pyo3::Borrowed">Borrowed</a>&lt;'py, 'py, &lt;&amp;<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.bool.html">bool</a> as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-29" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/types/boolobject.rs.html#184">Source</a><a href="#associatedtype.Error-29" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section><section id="method.into_pyobject-28" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/types/boolobject.rs.html#187-189">Source</a><a href="#method.into_pyobject-28" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-%26char" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/string.rs.html#164-178">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-%26char" class="anchor">§</a><h3 class="code-header">impl&lt;'py&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; for &amp;<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"><section id="associatedtype.Target-30" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/string.rs.html#165">Source</a><a href="#associatedtype.Target-30" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyString.html" title="struct pyo3::types::PyString">PyString</a></h4></section><section id="associatedtype.Output-30" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/string.rs.html#166">Source</a><a href="#associatedtype.Output-30" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;&amp;<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.char.html">char</a> as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-30" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/string.rs.html#167">Source</a><a href="#associatedtype.Error-30" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section><section id="method.into_pyobject-29" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/string.rs.html#170-172">Source</a><a href="#method.into_pyobject-29" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-%26f32" class="impl"><a class="src rightside" href="../../src/pyo3/types/float.rs.html#191-205">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-%26f32" class="anchor">§</a><h3 class="code-header">impl&lt;'py&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; for &amp;<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"><section id="associatedtype.Target-31" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/types/float.rs.html#192">Source</a><a href="#associatedtype.Target-31" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyFloat.html" title="struct pyo3::types::PyFloat">PyFloat</a></h4></section><section id="associatedtype.Output-31" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/types/float.rs.html#193">Source</a><a href="#associatedtype.Output-31" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;&amp;<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.f32.html">f32</a> as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-31" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/types/float.rs.html#194">Source</a><a href="#associatedtype.Error-31" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section><section id="method.into_pyobject-30" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/types/float.rs.html#197-199">Source</a><a href="#method.into_pyobject-30" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-%26f64" class="impl"><a class="src rightside" href="../../src/pyo3/types/float.rs.html#113-127">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-%26f64" class="anchor">§</a><h3 class="code-header">impl&lt;'py&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; for &amp;<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"><section id="associatedtype.Target-32" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/types/float.rs.html#114">Source</a><a href="#associatedtype.Target-32" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyFloat.html" title="struct pyo3::types::PyFloat">PyFloat</a></h4></section><section id="associatedtype.Output-32" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/types/float.rs.html#115">Source</a><a href="#associatedtype.Output-32" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;&amp;<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.f64.html">f64</a> as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-32" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/types/float.rs.html#116">Source</a><a href="#associatedtype.Error-32" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section><section id="method.into_pyobject-31" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/types/float.rs.html#119-121">Source</a><a href="#method.into_pyobject-31" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-%26i8" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#319">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-%26i8" class="anchor">§</a><h3 class="code-header">impl&lt;'py&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; for &amp;<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"><section id="associatedtype.Target-33" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#319">Source</a><a href="#associatedtype.Target-33" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyInt.html" title="struct pyo3::types::PyInt">PyInt</a></h4></section><section id="associatedtype.Output-33" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#319">Source</a><a href="#associatedtype.Output-33" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;&amp;<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.i8.html">i8</a> as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-33" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#319">Source</a><a href="#associatedtype.Error-33" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section><section id="method.into_pyobject-32" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#319">Source</a><a href="#method.into_pyobject-32" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-%26i16" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#320">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-%26i16" class="anchor">§</a><h3 class="code-header">impl&lt;'py&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; for &amp;<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"><section id="associatedtype.Target-34" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#320">Source</a><a href="#associatedtype.Target-34" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyInt.html" title="struct pyo3::types::PyInt">PyInt</a></h4></section><section id="associatedtype.Output-34" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#320">Source</a><a href="#associatedtype.Output-34" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;&amp;<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.i16.html">i16</a> as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-34" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#320">Source</a><a href="#associatedtype.Error-34" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section><section id="method.into_pyobject-33" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#320">Source</a><a href="#method.into_pyobject-33" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-%26i32" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#322">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-%26i32" class="anchor">§</a><h3 class="code-header">impl&lt;'py&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; for &amp;<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"><section id="associatedtype.Target-35" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#322">Source</a><a href="#associatedtype.Target-35" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyInt.html" title="struct pyo3::types::PyInt">PyInt</a></h4></section><section id="associatedtype.Output-35" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#322">Source</a><a href="#associatedtype.Output-35" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;&amp;<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.i32.html">i32</a> as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-35" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#322">Source</a><a href="#associatedtype.Error-35" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section><section id="method.into_pyobject-34" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#322">Source</a><a href="#method.into_pyobject-34" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-%26i64" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#331">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-%26i64" class="anchor">§</a><h3 class="code-header">impl&lt;'py&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; for &amp;<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"><section id="associatedtype.Target-36" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#331">Source</a><a href="#associatedtype.Target-36" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyInt.html" title="struct pyo3::types::PyInt">PyInt</a></h4></section><section id="associatedtype.Output-36" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#331">Source</a><a href="#associatedtype.Output-36" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;&amp;<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.i64.html">i64</a> as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-36" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#331">Source</a><a href="#associatedtype.Error-36" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section><section id="method.into_pyobject-35" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#331">Source</a><a href="#method.into_pyobject-35" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-%26i128" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#500">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-%26i128" class="anchor">§</a><h3 class="code-header">impl&lt;'py&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; for &amp;<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"><section id="associatedtype.Target-37" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#500">Source</a><a href="#associatedtype.Target-37" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyInt.html" title="struct pyo3::types::PyInt">PyInt</a></h4></section><section id="associatedtype.Output-37" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#500">Source</a><a href="#associatedtype.Output-37" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;&amp;<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.i128.html">i128</a> as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-37" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#500">Source</a><a href="#associatedtype.Error-37" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section><section id="method.into_pyobject-36" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#500">Source</a><a href="#method.into_pyobject-36" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-%26isize" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#338">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-%26isize" class="anchor">§</a><h3 class="code-header">impl&lt;'py&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; for &amp;<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"><section id="associatedtype.Target-38" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#338">Source</a><a href="#associatedtype.Target-38" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyInt.html" title="struct pyo3::types::PyInt">PyInt</a></h4></section><section id="associatedtype.Output-38" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#338">Source</a><a href="#associatedtype.Output-38" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;&amp;<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.isize.html">isize</a> as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-38" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#338">Source</a><a href="#associatedtype.Error-38" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section><section id="method.into_pyobject-37" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#338">Source</a><a href="#method.into_pyobject-37" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-%26str" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/string.rs.html#40-54">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-%26str" class="anchor">§</a><h3 class="code-header">impl&lt;'py&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; for &amp;<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"><section id="associatedtype.Target-39" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/string.rs.html#41">Source</a><a href="#associatedtype.Target-39" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyString.html" title="struct pyo3::types::PyString">PyString</a></h4></section><section id="associatedtype.Output-39" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/string.rs.html#42">Source</a><a href="#associatedtype.Output-39" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;&amp;<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.str.html">str</a> as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-39" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/string.rs.html#43">Source</a><a href="#associatedtype.Error-39" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section><section id="method.into_pyobject-38" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/string.rs.html#46-48">Source</a><a href="#method.into_pyobject-38" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-%26u8" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#279-305">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-%26u8" class="anchor">§</a><h3 class="code-header">impl&lt;'py&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; for &amp;<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"><section id="associatedtype.Target-40" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#280">Source</a><a href="#associatedtype.Target-40" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyInt.html" title="struct pyo3::types::PyInt">PyInt</a></h4></section><section id="associatedtype.Output-40" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#281">Source</a><a href="#associatedtype.Output-40" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;&amp;<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.u8.html">u8</a> as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-40" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#282">Source</a><a href="#associatedtype.Error-40" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section><section id="method.into_pyobject-39" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#284-286">Source</a><a href="#method.into_pyobject-39" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-%26u16" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#321">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-%26u16" class="anchor">§</a><h3 class="code-header">impl&lt;'py&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; for &amp;<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"><section id="associatedtype.Target-41" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#321">Source</a><a href="#associatedtype.Target-41" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyInt.html" title="struct pyo3::types::PyInt">PyInt</a></h4></section><section id="associatedtype.Output-41" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#321">Source</a><a href="#associatedtype.Output-41" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;&amp;<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.u16.html">u16</a> as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-41" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#321">Source</a><a href="#associatedtype.Error-41" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section><section id="method.into_pyobject-40" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#321">Source</a><a href="#method.into_pyobject-40" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-%26u32" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#326">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-%26u32" class="anchor">§</a><h3 class="code-header">impl&lt;'py&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; for &amp;<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"><section id="associatedtype.Target-42" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#326">Source</a><a href="#associatedtype.Target-42" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyInt.html" title="struct pyo3::types::PyInt">PyInt</a></h4></section><section id="associatedtype.Output-42" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#326">Source</a><a href="#associatedtype.Output-42" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;&amp;<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.u32.html">u32</a> as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-42" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#326">Source</a><a href="#associatedtype.Error-42" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section><section id="method.into_pyobject-41" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#326">Source</a><a href="#method.into_pyobject-41" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-%26u64" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#345-350">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-%26u64" class="anchor">§</a><h3 class="code-header">impl&lt;'py&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; for &amp;<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"><section id="associatedtype.Target-43" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#345-350">Source</a><a href="#associatedtype.Target-43" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyInt.html" title="struct pyo3::types::PyInt">PyInt</a></h4></section><section id="associatedtype.Output-43" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#345-350">Source</a><a href="#associatedtype.Output-43" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;&amp;<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.u64.html">u64</a> as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-43" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#345-350">Source</a><a href="#associatedtype.Error-43" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section><section id="method.into_pyobject-42" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#345-350">Source</a><a href="#method.into_pyobject-42" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-%26u128" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#501">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-%26u128" class="anchor">§</a><h3 class="code-header">impl&lt;'py&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; for &amp;<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"><section id="associatedtype.Target-44" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#501">Source</a><a href="#associatedtype.Target-44" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyInt.html" title="struct pyo3::types::PyInt">PyInt</a></h4></section><section id="associatedtype.Output-44" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#501">Source</a><a href="#associatedtype.Output-44" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;&amp;<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.u128.html">u128</a> as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-44" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#501">Source</a><a href="#associatedtype.Error-44" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section><section id="method.into_pyobject-43" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#501">Source</a><a href="#method.into_pyobject-43" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-%26usize" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#342">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-%26usize" class="anchor">§</a><h3 class="code-header">impl&lt;'py&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; for &amp;<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"><section id="associatedtype.Target-45" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#342">Source</a><a href="#associatedtype.Target-45" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyInt.html" title="struct pyo3::types::PyInt">PyInt</a></h4></section><section id="associatedtype.Output-45" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#342">Source</a><a href="#associatedtype.Output-45" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;&amp;<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.usize.html">usize</a> as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-45" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#342">Source</a><a href="#associatedtype.Error-45" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section><section id="method.into_pyobject-44" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#342">Source</a><a href="#method.into_pyobject-44" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-%26String" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/string.rs.html#211-225">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-%26String" class="anchor">§</a><h3 class="code-header">impl&lt;'py&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; for &amp;<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"><section id="associatedtype.Target-46" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/string.rs.html#212">Source</a><a href="#associatedtype.Target-46" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyString.html" title="struct pyo3::types::PyString">PyString</a></h4></section><section id="associatedtype.Output-46" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/string.rs.html#213">Source</a><a href="#associatedtype.Output-46" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;&amp;<a class="struct" href="https://doc.rust-lang.org/1.85.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a> as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-46" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/string.rs.html#214">Source</a><a href="#associatedtype.Error-46" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section><section id="method.into_pyobject-45" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/string.rs.html#217-219">Source</a><a href="#method.into_pyobject-45" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-%26Ipv4Addr" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/ipaddr.rs.html#55-64">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-%26Ipv4Addr" class="anchor">§</a><h3 class="code-header">impl&lt;'py&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; for &amp;<a class="struct" href="https://doc.rust-lang.org/1.85.1/core/net/ip_addr/struct.Ipv4Addr.html" title="struct core::net::ip_addr::Ipv4Addr">Ipv4Addr</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Target-47" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/ipaddr.rs.html#56">Source</a><a href="#associatedtype.Target-47" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyAny.html" title="struct pyo3::types::PyAny">PyAny</a></h4></section><section id="associatedtype.Output-47" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/ipaddr.rs.html#57">Source</a><a href="#associatedtype.Output-47" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;&amp;<a class="struct" href="https://doc.rust-lang.org/1.85.1/core/net/ip_addr/struct.Ipv4Addr.html" title="struct core::net::ip_addr::Ipv4Addr">Ipv4Addr</a> as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-47" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/ipaddr.rs.html#58">Source</a><a href="#associatedtype.Error-47" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="struct" href="../struct.PyErr.html" title="struct pyo3::PyErr">PyErr</a></h4></section><section id="method.into_pyobject-46" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/ipaddr.rs.html#61-63">Source</a><a href="#method.into_pyobject-46" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-%26Ipv6Addr" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/ipaddr.rs.html#87-96">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-%26Ipv6Addr" class="anchor">§</a><h3 class="code-header">impl&lt;'py&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; for &amp;<a class="struct" href="https://doc.rust-lang.org/1.85.1/core/net/ip_addr/struct.Ipv6Addr.html" title="struct core::net::ip_addr::Ipv6Addr">Ipv6Addr</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Target-48" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/ipaddr.rs.html#88">Source</a><a href="#associatedtype.Target-48" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyAny.html" title="struct pyo3::types::PyAny">PyAny</a></h4></section><section id="associatedtype.Output-48" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/ipaddr.rs.html#89">Source</a><a href="#associatedtype.Output-48" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;&amp;<a class="struct" href="https://doc.rust-lang.org/1.85.1/core/net/ip_addr/struct.Ipv6Addr.html" title="struct core::net::ip_addr::Ipv6Addr">Ipv6Addr</a> as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-48" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/ipaddr.rs.html#90">Source</a><a href="#associatedtype.Error-48" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="struct" href="../struct.PyErr.html" title="struct pyo3::PyErr">PyErr</a></h4></section><section id="method.into_pyobject-47" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/ipaddr.rs.html#93-95">Source</a><a href="#method.into_pyobject-47" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-%26Duration" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/time.rs.html#104-116">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-%26Duration" class="anchor">§</a><h3 class="code-header">impl&lt;'py&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; for &amp;<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"><section id="associatedtype.Target-49" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/time.rs.html#106">Source</a><a href="#associatedtype.Target-49" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyDelta.html" title="struct pyo3::types::PyDelta">PyDelta</a></h4></section><section id="associatedtype.Output-49" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/time.rs.html#109">Source</a><a href="#associatedtype.Output-49" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;&amp;<a class="struct" href="https://doc.rust-lang.org/1.85.1/core/time/struct.Duration.html" title="struct core::time::Duration">Duration</a> as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-49" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/time.rs.html#110">Source</a><a href="#associatedtype.Error-49" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="struct" href="../struct.PyErr.html" title="struct pyo3::PyErr">PyErr</a></h4></section><section id="method.into_pyobject-48" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/time.rs.html#113-115">Source</a><a href="#method.into_pyobject-48" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-%26OsStr" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/osstr.rs.html#21-68">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-%26OsStr" class="anchor">§</a><h3 class="code-header">impl&lt;'py&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; for &amp;<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"><section id="associatedtype.Target-50" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/osstr.rs.html#22">Source</a><a href="#associatedtype.Target-50" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyString.html" title="struct pyo3::types::PyString">PyString</a></h4></section><section id="associatedtype.Output-50" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/osstr.rs.html#23">Source</a><a href="#associatedtype.Output-50" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;&amp;<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> as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-50" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/osstr.rs.html#24">Source</a><a href="#associatedtype.Error-50" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section><section id="method.into_pyobject-49" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/osstr.rs.html#26-67">Source</a><a href="#method.into_pyobject-49" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-%26OsString" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/osstr.rs.html#218-227">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-%26OsString" class="anchor">§</a><h3 class="code-header">impl&lt;'py&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; for &amp;<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"><section id="associatedtype.Target-51" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/osstr.rs.html#219">Source</a><a href="#associatedtype.Target-51" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyString.html" title="struct pyo3::types::PyString">PyString</a></h4></section><section id="associatedtype.Output-51" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/osstr.rs.html#220">Source</a><a href="#associatedtype.Output-51" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;&amp;<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> as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-51" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/osstr.rs.html#221">Source</a><a href="#associatedtype.Error-51" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section><section id="method.into_pyobject-50" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/osstr.rs.html#224-226">Source</a><a href="#method.into_pyobject-50" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-%26Path" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/path.rs.html#39-51">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-%26Path" class="anchor">§</a><h3 class="code-header">impl&lt;'py&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; for &amp;<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"><section id="associatedtype.Target-52" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/path.rs.html#40">Source</a><a href="#associatedtype.Target-52" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyAny.html" title="struct pyo3::types::PyAny">PyAny</a></h4></section><section id="associatedtype.Output-52" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/path.rs.html#41">Source</a><a href="#associatedtype.Output-52" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;&amp;<a class="struct" href="https://doc.rust-lang.org/1.85.1/std/path/struct.Path.html" title="struct std::path::Path">Path</a> as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-52" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/path.rs.html#42">Source</a><a href="#associatedtype.Error-52" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="struct" href="../struct.PyErr.html" title="struct pyo3::PyErr">PyErr</a></h4></section><section id="method.into_pyobject-51" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/path.rs.html#45-50">Source</a><a href="#method.into_pyobject-51" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-%26PathBuf" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/path.rs.html#137-146">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-%26PathBuf" class="anchor">§</a><h3 class="code-header">impl&lt;'py&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; for &amp;<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"><section id="associatedtype.Target-53" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/path.rs.html#138">Source</a><a href="#associatedtype.Target-53" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyAny.html" title="struct pyo3::types::PyAny">PyAny</a></h4></section><section id="associatedtype.Output-53" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/path.rs.html#139">Source</a><a href="#associatedtype.Output-53" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;&amp;<a class="struct" href="https://doc.rust-lang.org/1.85.1/std/path/struct.PathBuf.html" title="struct std::path::PathBuf">PathBuf</a> as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-53" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/path.rs.html#140">Source</a><a href="#associatedtype.Error-53" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="struct" href="../struct.PyErr.html" title="struct pyo3::PyErr">PyErr</a></h4></section><section id="method.into_pyobject-52" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/path.rs.html#143-145">Source</a><a href="#method.into_pyobject-52" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-%26SystemTime" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/time.rs.html#167-176">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-%26SystemTime" class="anchor">§</a><h3 class="code-header">impl&lt;'py&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; for &amp;<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"><section id="associatedtype.Target-54" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/time.rs.html#168">Source</a><a href="#associatedtype.Target-54" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyAny.html" title="struct pyo3::types::PyAny">PyAny</a></h4></section><section id="associatedtype.Output-54" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/time.rs.html#169">Source</a><a href="#associatedtype.Output-54" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;&amp;<a class="struct" href="https://doc.rust-lang.org/1.85.1/std/time/struct.SystemTime.html" title="struct std::time::SystemTime">SystemTime</a> as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-54" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/time.rs.html#170">Source</a><a href="#associatedtype.Error-54" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="struct" href="../struct.PyErr.html" title="struct pyo3::PyErr">PyErr</a></h4></section><section id="method.into_pyobject-53" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/time.rs.html#173-175">Source</a><a href="#method.into_pyobject-53" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-%26NonZero%3Ci8%3E" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#680">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-%26NonZero%3Ci8%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'py&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; for &amp;<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"><section id="associatedtype.Target-55" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#680">Source</a><a href="#associatedtype.Target-55" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyInt.html" title="struct pyo3::types::PyInt">PyInt</a></h4></section><section id="associatedtype.Output-55" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#680">Source</a><a href="#associatedtype.Output-55" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;&amp;<a class="struct" href="https://doc.rust-lang.org/1.85.1/core/num/nonzero/struct.NonZero.html" title="struct core::num::nonzero::NonZero">NonZero</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.i8.html">i8</a>&gt; as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-55" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#680">Source</a><a href="#associatedtype.Error-55" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section><section id="method.into_pyobject-54" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#680">Source</a><a href="#method.into_pyobject-54" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-%26NonZero%3Ci16%3E" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#681">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-%26NonZero%3Ci16%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'py&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; for &amp;<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"><section id="associatedtype.Target-56" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#681">Source</a><a href="#associatedtype.Target-56" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyInt.html" title="struct pyo3::types::PyInt">PyInt</a></h4></section><section id="associatedtype.Output-56" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#681">Source</a><a href="#associatedtype.Output-56" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;&amp;<a class="struct" href="https://doc.rust-lang.org/1.85.1/core/num/nonzero/struct.NonZero.html" title="struct core::num::nonzero::NonZero">NonZero</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.i16.html">i16</a>&gt; as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-56" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#681">Source</a><a href="#associatedtype.Error-56" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section><section id="method.into_pyobject-55" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#681">Source</a><a href="#method.into_pyobject-55" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-%26NonZero%3Ci32%3E" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#682">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-%26NonZero%3Ci32%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'py&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; for &amp;<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"><section id="associatedtype.Target-57" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#682">Source</a><a href="#associatedtype.Target-57" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyInt.html" title="struct pyo3::types::PyInt">PyInt</a></h4></section><section id="associatedtype.Output-57" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#682">Source</a><a href="#associatedtype.Output-57" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;&amp;<a class="struct" href="https://doc.rust-lang.org/1.85.1/core/num/nonzero/struct.NonZero.html" title="struct core::num::nonzero::NonZero">NonZero</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.i32.html">i32</a>&gt; as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-57" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#682">Source</a><a href="#associatedtype.Error-57" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section><section id="method.into_pyobject-56" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#682">Source</a><a href="#method.into_pyobject-56" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-%26NonZero%3Ci64%3E" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#683">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-%26NonZero%3Ci64%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'py&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; for &amp;<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"><section id="associatedtype.Target-58" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#683">Source</a><a href="#associatedtype.Target-58" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyInt.html" title="struct pyo3::types::PyInt">PyInt</a></h4></section><section id="associatedtype.Output-58" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#683">Source</a><a href="#associatedtype.Output-58" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;&amp;<a class="struct" href="https://doc.rust-lang.org/1.85.1/core/num/nonzero/struct.NonZero.html" title="struct core::num::nonzero::NonZero">NonZero</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.i64.html">i64</a>&gt; as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-58" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#683">Source</a><a href="#associatedtype.Error-58" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section><section id="method.into_pyobject-57" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#683">Source</a><a href="#method.into_pyobject-57" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-%26NonZero%3Ci128%3E" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#684">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-%26NonZero%3Ci128%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'py&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; for &amp;<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"><section id="associatedtype.Target-59" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#684">Source</a><a href="#associatedtype.Target-59" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyInt.html" title="struct pyo3::types::PyInt">PyInt</a></h4></section><section id="associatedtype.Output-59" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#684">Source</a><a href="#associatedtype.Output-59" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;&amp;<a class="struct" href="https://doc.rust-lang.org/1.85.1/core/num/nonzero/struct.NonZero.html" title="struct core::num::nonzero::NonZero">NonZero</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.i128.html">i128</a>&gt; as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-59" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#684">Source</a><a href="#associatedtype.Error-59" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section><section id="method.into_pyobject-58" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#684">Source</a><a href="#method.into_pyobject-58" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-%26NonZero%3Cisize%3E" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#685">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-%26NonZero%3Cisize%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'py&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; for &amp;<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"><section id="associatedtype.Target-60" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#685">Source</a><a href="#associatedtype.Target-60" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyInt.html" title="struct pyo3::types::PyInt">PyInt</a></h4></section><section id="associatedtype.Output-60" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#685">Source</a><a href="#associatedtype.Output-60" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;&amp;<a class="struct" href="https://doc.rust-lang.org/1.85.1/core/num/nonzero/struct.NonZero.html" title="struct core::num::nonzero::NonZero">NonZero</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.isize.html">isize</a>&gt; as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-60" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#685">Source</a><a href="#associatedtype.Error-60" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section><section id="method.into_pyobject-59" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#685">Source</a><a href="#method.into_pyobject-59" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-%26NonZero%3Cu8%3E" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#686">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-%26NonZero%3Cu8%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'py&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; for &amp;<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"><section id="associatedtype.Target-61" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#686">Source</a><a href="#associatedtype.Target-61" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyInt.html" title="struct pyo3::types::PyInt">PyInt</a></h4></section><section id="associatedtype.Output-61" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#686">Source</a><a href="#associatedtype.Output-61" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;&amp;<a class="struct" href="https://doc.rust-lang.org/1.85.1/core/num/nonzero/struct.NonZero.html" title="struct core::num::nonzero::NonZero">NonZero</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.u8.html">u8</a>&gt; as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-61" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#686">Source</a><a href="#associatedtype.Error-61" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section><section id="method.into_pyobject-60" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#686">Source</a><a href="#method.into_pyobject-60" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-%26NonZero%3Cu16%3E" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#687">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-%26NonZero%3Cu16%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'py&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; for &amp;<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"><section id="associatedtype.Target-62" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#687">Source</a><a href="#associatedtype.Target-62" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyInt.html" title="struct pyo3::types::PyInt">PyInt</a></h4></section><section id="associatedtype.Output-62" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#687">Source</a><a href="#associatedtype.Output-62" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;&amp;<a class="struct" href="https://doc.rust-lang.org/1.85.1/core/num/nonzero/struct.NonZero.html" title="struct core::num::nonzero::NonZero">NonZero</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.u16.html">u16</a>&gt; as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-62" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#687">Source</a><a href="#associatedtype.Error-62" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section><section id="method.into_pyobject-61" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#687">Source</a><a href="#method.into_pyobject-61" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-%26NonZero%3Cu32%3E" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#688">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-%26NonZero%3Cu32%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'py&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; for &amp;<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"><section id="associatedtype.Target-63" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#688">Source</a><a href="#associatedtype.Target-63" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyInt.html" title="struct pyo3::types::PyInt">PyInt</a></h4></section><section id="associatedtype.Output-63" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#688">Source</a><a href="#associatedtype.Output-63" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;&amp;<a class="struct" href="https://doc.rust-lang.org/1.85.1/core/num/nonzero/struct.NonZero.html" title="struct core::num::nonzero::NonZero">NonZero</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.u32.html">u32</a>&gt; as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-63" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#688">Source</a><a href="#associatedtype.Error-63" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section><section id="method.into_pyobject-62" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#688">Source</a><a href="#method.into_pyobject-62" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-%26NonZero%3Cu64%3E" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#689">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-%26NonZero%3Cu64%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'py&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; for &amp;<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"><section id="associatedtype.Target-64" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#689">Source</a><a href="#associatedtype.Target-64" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyInt.html" title="struct pyo3::types::PyInt">PyInt</a></h4></section><section id="associatedtype.Output-64" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#689">Source</a><a href="#associatedtype.Output-64" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;&amp;<a class="struct" href="https://doc.rust-lang.org/1.85.1/core/num/nonzero/struct.NonZero.html" title="struct core::num::nonzero::NonZero">NonZero</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.u64.html">u64</a>&gt; as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-64" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#689">Source</a><a href="#associatedtype.Error-64" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section><section id="method.into_pyobject-63" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#689">Source</a><a href="#method.into_pyobject-63" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-%26NonZero%3Cu128%3E" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#690">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-%26NonZero%3Cu128%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'py&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; for &amp;<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"><section id="associatedtype.Target-65" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#690">Source</a><a href="#associatedtype.Target-65" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyInt.html" title="struct pyo3::types::PyInt">PyInt</a></h4></section><section id="associatedtype.Output-65" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#690">Source</a><a href="#associatedtype.Output-65" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;&amp;<a class="struct" href="https://doc.rust-lang.org/1.85.1/core/num/nonzero/struct.NonZero.html" title="struct core::num::nonzero::NonZero">NonZero</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.u128.html">u128</a>&gt; as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-65" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#690">Source</a><a href="#associatedtype.Error-65" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section><section id="method.into_pyobject-64" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#690">Source</a><a href="#method.into_pyobject-64" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-%26NonZero%3Cusize%3E" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#691">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-%26NonZero%3Cusize%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'py&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; for &amp;<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"><section id="associatedtype.Target-66" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#691">Source</a><a href="#associatedtype.Target-66" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyInt.html" title="struct pyo3::types::PyInt">PyInt</a></h4></section><section id="associatedtype.Output-66" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#691">Source</a><a href="#associatedtype.Output-66" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;&amp;<a class="struct" href="https://doc.rust-lang.org/1.85.1/core/num/nonzero/struct.NonZero.html" title="struct core::num::nonzero::NonZero">NonZero</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.usize.html">usize</a>&gt; as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-66" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#691">Source</a><a href="#associatedtype.Error-66" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section><section id="method.into_pyobject-65" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#691">Source</a><a href="#method.into_pyobject-65" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-Cow%3C'_,+str%3E" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/string.rs.html#90-104">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-Cow%3C'_,+str%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'py&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; 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>&lt;'_, <a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.str.html">str</a>&gt;</h3></section></summary><div class="impl-items"><section id="associatedtype.Target-67" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/string.rs.html#91">Source</a><a href="#associatedtype.Target-67" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyString.html" title="struct pyo3::types::PyString">PyString</a></h4></section><section id="associatedtype.Output-67" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/string.rs.html#92">Source</a><a href="#associatedtype.Output-67" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;<a class="enum" href="https://doc.rust-lang.org/1.85.1/alloc/borrow/enum.Cow.html" title="enum alloc::borrow::Cow">Cow</a>&lt;'_, <a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.str.html">str</a>&gt; as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-67" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/string.rs.html#93">Source</a><a href="#associatedtype.Error-67" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section><section id="method.into_pyobject-66" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/string.rs.html#96-98">Source</a><a href="#method.into_pyobject-66" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-Cow%3C'_,+OsStr%3E" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/osstr.rs.html#161-170">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-Cow%3C'_,+OsStr%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'py&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; 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>&lt;'_, <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>&gt;</h3></section></summary><div class="impl-items"><section id="associatedtype.Target-68" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/osstr.rs.html#162">Source</a><a href="#associatedtype.Target-68" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyString.html" title="struct pyo3::types::PyString">PyString</a></h4></section><section id="associatedtype.Output-68" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/osstr.rs.html#163">Source</a><a href="#associatedtype.Output-68" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;<a class="enum" href="https://doc.rust-lang.org/1.85.1/alloc/borrow/enum.Cow.html" title="enum alloc::borrow::Cow">Cow</a>&lt;'_, <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>&gt; as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-68" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/osstr.rs.html#164">Source</a><a href="#associatedtype.Error-68" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section><section id="method.into_pyobject-67" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/osstr.rs.html#167-169">Source</a><a href="#method.into_pyobject-67" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-Cow%3C'_,+Path%3E" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/path.rs.html#80-89">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-Cow%3C'_,+Path%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'py&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; 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>&lt;'_, <a class="struct" href="https://doc.rust-lang.org/1.85.1/std/path/struct.Path.html" title="struct std::path::Path">Path</a>&gt;</h3></section></summary><div class="impl-items"><section id="associatedtype.Target-69" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/path.rs.html#81">Source</a><a href="#associatedtype.Target-69" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyAny.html" title="struct pyo3::types::PyAny">PyAny</a></h4></section><section id="associatedtype.Output-69" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/path.rs.html#82">Source</a><a href="#associatedtype.Output-69" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;<a class="enum" href="https://doc.rust-lang.org/1.85.1/alloc/borrow/enum.Cow.html" title="enum alloc::borrow::Cow">Cow</a>&lt;'_, <a class="struct" href="https://doc.rust-lang.org/1.85.1/std/path/struct.Path.html" title="struct std::path::Path">Path</a>&gt; as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-69" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/path.rs.html#83">Source</a><a href="#associatedtype.Error-69" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="struct" href="../struct.PyErr.html" title="struct pyo3::PyErr">PyErr</a></h4></section><section id="method.into_pyobject-68" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/path.rs.html#86-88">Source</a><a href="#method.into_pyobject-68" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-IpAddr" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/ipaddr.rs.html#114-125">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-IpAddr" class="anchor">§</a><h3 class="code-header">impl&lt;'py&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; 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"><section id="associatedtype.Target-70" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/ipaddr.rs.html#115">Source</a><a href="#associatedtype.Target-70" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyAny.html" title="struct pyo3::types::PyAny">PyAny</a></h4></section><section id="associatedtype.Output-70" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/ipaddr.rs.html#116">Source</a><a href="#associatedtype.Output-70" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;<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> as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-70" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/ipaddr.rs.html#117">Source</a><a href="#associatedtype.Error-70" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="struct" href="../struct.PyErr.html" title="struct pyo3::PyErr">PyErr</a></h4></section><section id="method.into_pyobject-69" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/ipaddr.rs.html#119-124">Source</a><a href="#method.into_pyobject-69" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-bool" class="impl"><a class="src rightside" href="../../src/pyo3/types/boolobject.rs.html#165-179">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-bool" class="anchor">§</a><h3 class="code-header">impl&lt;'py&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; 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"><section id="associatedtype.Target-71" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/types/boolobject.rs.html#166">Source</a><a href="#associatedtype.Target-71" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyBool.html" title="struct pyo3::types::PyBool">PyBool</a></h4></section><section id="associatedtype.Output-71" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/types/boolobject.rs.html#167">Source</a><a href="#associatedtype.Output-71" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Borrowed.html" title="struct pyo3::Borrowed">Borrowed</a>&lt;'py, 'py, &lt;<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.bool.html">bool</a> as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-71" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/types/boolobject.rs.html#168">Source</a><a href="#associatedtype.Error-71" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section><section id="method.into_pyobject-70" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/types/boolobject.rs.html#171-173">Source</a><a href="#method.into_pyobject-70" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-char" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/string.rs.html#148-162">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-char" class="anchor">§</a><h3 class="code-header">impl&lt;'py&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; 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"><section id="associatedtype.Target-72" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/string.rs.html#149">Source</a><a href="#associatedtype.Target-72" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyString.html" title="struct pyo3::types::PyString">PyString</a></h4></section><section id="associatedtype.Output-72" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/string.rs.html#150">Source</a><a href="#associatedtype.Output-72" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.char.html">char</a> as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-72" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/string.rs.html#151">Source</a><a href="#associatedtype.Error-72" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section><section id="method.into_pyobject-71" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/string.rs.html#153-156">Source</a><a href="#method.into_pyobject-71" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-f32" class="impl"><a class="src rightside" href="../../src/pyo3/types/float.rs.html#175-189">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-f32" class="anchor">§</a><h3 class="code-header">impl&lt;'py&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; 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"><section id="associatedtype.Target-73" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/types/float.rs.html#176">Source</a><a href="#associatedtype.Target-73" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyFloat.html" title="struct pyo3::types::PyFloat">PyFloat</a></h4></section><section id="associatedtype.Output-73" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/types/float.rs.html#177">Source</a><a href="#associatedtype.Output-73" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.f32.html">f32</a> as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-73" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/types/float.rs.html#178">Source</a><a href="#associatedtype.Error-73" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section><section id="method.into_pyobject-72" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/types/float.rs.html#181-183">Source</a><a href="#method.into_pyobject-72" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-f64" class="impl"><a class="src rightside" href="../../src/pyo3/types/float.rs.html#97-111">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-f64" class="anchor">§</a><h3 class="code-header">impl&lt;'py&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; 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"><section id="associatedtype.Target-74" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/types/float.rs.html#98">Source</a><a href="#associatedtype.Target-74" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyFloat.html" title="struct pyo3::types::PyFloat">PyFloat</a></h4></section><section id="associatedtype.Output-74" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/types/float.rs.html#99">Source</a><a href="#associatedtype.Output-74" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.f64.html">f64</a> as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-74" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/types/float.rs.html#100">Source</a><a href="#associatedtype.Error-74" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section><section id="method.into_pyobject-73" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/types/float.rs.html#103-105">Source</a><a href="#method.into_pyobject-73" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-i8" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#319">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-i8" class="anchor">§</a><h3 class="code-header">impl&lt;'py&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; 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"><section id="associatedtype.Target-75" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#319">Source</a><a href="#associatedtype.Target-75" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyInt.html" title="struct pyo3::types::PyInt">PyInt</a></h4></section><section id="associatedtype.Output-75" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#319">Source</a><a href="#associatedtype.Output-75" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.i8.html">i8</a> as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-75" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#319">Source</a><a href="#associatedtype.Error-75" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section><section id="method.into_pyobject-74" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#319">Source</a><a href="#method.into_pyobject-74" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-i16" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#320">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-i16" class="anchor">§</a><h3 class="code-header">impl&lt;'py&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; 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"><section id="associatedtype.Target-76" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#320">Source</a><a href="#associatedtype.Target-76" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyInt.html" title="struct pyo3::types::PyInt">PyInt</a></h4></section><section id="associatedtype.Output-76" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#320">Source</a><a href="#associatedtype.Output-76" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.i16.html">i16</a> as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-76" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#320">Source</a><a href="#associatedtype.Error-76" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section><section id="method.into_pyobject-75" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#320">Source</a><a href="#method.into_pyobject-75" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-i32" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#322">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-i32" class="anchor">§</a><h3 class="code-header">impl&lt;'py&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; 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"><section id="associatedtype.Target-77" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#322">Source</a><a href="#associatedtype.Target-77" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyInt.html" title="struct pyo3::types::PyInt">PyInt</a></h4></section><section id="associatedtype.Output-77" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#322">Source</a><a href="#associatedtype.Output-77" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.i32.html">i32</a> as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-77" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#322">Source</a><a href="#associatedtype.Error-77" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section><section id="method.into_pyobject-76" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#322">Source</a><a href="#method.into_pyobject-76" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-i64" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#331">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-i64" class="anchor">§</a><h3 class="code-header">impl&lt;'py&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; 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"><section id="associatedtype.Target-78" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#331">Source</a><a href="#associatedtype.Target-78" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyInt.html" title="struct pyo3::types::PyInt">PyInt</a></h4></section><section id="associatedtype.Output-78" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#331">Source</a><a href="#associatedtype.Output-78" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.i64.html">i64</a> as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-78" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#331">Source</a><a href="#associatedtype.Error-78" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section><section id="method.into_pyobject-77" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#331">Source</a><a href="#method.into_pyobject-77" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-i128" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#500">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-i128" class="anchor">§</a><h3 class="code-header">impl&lt;'py&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; 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"><section id="associatedtype.Target-79" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#500">Source</a><a href="#associatedtype.Target-79" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyInt.html" title="struct pyo3::types::PyInt">PyInt</a></h4></section><section id="associatedtype.Output-79" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#500">Source</a><a href="#associatedtype.Output-79" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.i128.html">i128</a> as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-79" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#500">Source</a><a href="#associatedtype.Error-79" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section><section id="method.into_pyobject-78" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#500">Source</a><a href="#method.into_pyobject-78" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-isize" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#338">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-isize" class="anchor">§</a><h3 class="code-header">impl&lt;'py&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; 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"><section id="associatedtype.Target-80" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#338">Source</a><a href="#associatedtype.Target-80" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyInt.html" title="struct pyo3::types::PyInt">PyInt</a></h4></section><section id="associatedtype.Output-80" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#338">Source</a><a href="#associatedtype.Output-80" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.isize.html">isize</a> as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-80" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#338">Source</a><a href="#associatedtype.Error-80" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section><section id="method.into_pyobject-79" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#338">Source</a><a href="#method.into_pyobject-79" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-u8" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#248-277">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-u8" class="anchor">§</a><h3 class="code-header">impl&lt;'py&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; 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"><section id="associatedtype.Target-81" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#249">Source</a><a href="#associatedtype.Target-81" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyInt.html" title="struct pyo3::types::PyInt">PyInt</a></h4></section><section id="associatedtype.Output-81" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#250">Source</a><a href="#associatedtype.Output-81" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.u8.html">u8</a> as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-81" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#251">Source</a><a href="#associatedtype.Error-81" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section><section id="method.into_pyobject-80" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#253-259">Source</a><a href="#method.into_pyobject-80" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-u16" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#321">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-u16" class="anchor">§</a><h3 class="code-header">impl&lt;'py&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; 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"><section id="associatedtype.Target-82" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#321">Source</a><a href="#associatedtype.Target-82" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyInt.html" title="struct pyo3::types::PyInt">PyInt</a></h4></section><section id="associatedtype.Output-82" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#321">Source</a><a href="#associatedtype.Output-82" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.u16.html">u16</a> as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-82" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#321">Source</a><a href="#associatedtype.Error-82" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section><section id="method.into_pyobject-81" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#321">Source</a><a href="#method.into_pyobject-81" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-u32" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#326">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-u32" class="anchor">§</a><h3 class="code-header">impl&lt;'py&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; 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"><section id="associatedtype.Target-83" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#326">Source</a><a href="#associatedtype.Target-83" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyInt.html" title="struct pyo3::types::PyInt">PyInt</a></h4></section><section id="associatedtype.Output-83" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#326">Source</a><a href="#associatedtype.Output-83" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.u32.html">u32</a> as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-83" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#326">Source</a><a href="#associatedtype.Error-83" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section><section id="method.into_pyobject-82" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#326">Source</a><a href="#method.into_pyobject-82" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-u64" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#345-350">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-u64" class="anchor">§</a><h3 class="code-header">impl&lt;'py&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; 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"><section id="associatedtype.Target-84" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#345-350">Source</a><a href="#associatedtype.Target-84" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyInt.html" title="struct pyo3::types::PyInt">PyInt</a></h4></section><section id="associatedtype.Output-84" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#345-350">Source</a><a href="#associatedtype.Output-84" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.u64.html">u64</a> as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-84" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#345-350">Source</a><a href="#associatedtype.Error-84" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section><section id="method.into_pyobject-83" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#345-350">Source</a><a href="#method.into_pyobject-83" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-u128" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#501">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-u128" class="anchor">§</a><h3 class="code-header">impl&lt;'py&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; 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"><section id="associatedtype.Target-85" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#501">Source</a><a href="#associatedtype.Target-85" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyInt.html" title="struct pyo3::types::PyInt">PyInt</a></h4></section><section id="associatedtype.Output-85" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#501">Source</a><a href="#associatedtype.Output-85" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.u128.html">u128</a> as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-85" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#501">Source</a><a href="#associatedtype.Error-85" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section><section id="method.into_pyobject-84" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#501">Source</a><a href="#method.into_pyobject-84" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-()" class="impl"><a class="src rightside" href="../../src/pyo3/conversion.rs.html#590-598">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-()" class="anchor">§</a><h3 class="code-header">impl&lt;'py&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; 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"><section id="associatedtype.Target-86" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversion.rs.html#591">Source</a><a href="#associatedtype.Target-86" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyTuple.html" title="struct pyo3::types::PyTuple">PyTuple</a></h4></section><section id="associatedtype.Output-86" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversion.rs.html#592">Source</a><a href="#associatedtype.Output-86" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.unit.html">()</a> as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-86" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversion.rs.html#593">Source</a><a href="#associatedtype.Error-86" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section><section id="method.into_pyobject-85" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversion.rs.html#595-597">Source</a><a href="#method.into_pyobject-85" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-usize" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#342">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-usize" class="anchor">§</a><h3 class="code-header">impl&lt;'py&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; 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"><section id="associatedtype.Target-87" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#342">Source</a><a href="#associatedtype.Target-87" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyInt.html" title="struct pyo3::types::PyInt">PyInt</a></h4></section><section id="associatedtype.Output-87" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#342">Source</a><a href="#associatedtype.Output-87" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.usize.html">usize</a> as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-87" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#342">Source</a><a href="#associatedtype.Error-87" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section><section id="method.into_pyobject-86" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#342">Source</a><a href="#method.into_pyobject-86" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-String" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/string.rs.html#188-201">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-String" class="anchor">§</a><h3 class="code-header">impl&lt;'py&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; 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"><section id="associatedtype.Target-88" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/string.rs.html#189">Source</a><a href="#associatedtype.Target-88" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyString.html" title="struct pyo3::types::PyString">PyString</a></h4></section><section id="associatedtype.Output-88" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/string.rs.html#190">Source</a><a href="#associatedtype.Output-88" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;<a class="struct" href="https://doc.rust-lang.org/1.85.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a> as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-88" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/string.rs.html#191">Source</a><a href="#associatedtype.Error-88" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section><section id="method.into_pyobject-87" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/string.rs.html#193-195">Source</a><a href="#method.into_pyobject-87" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-Ipv4Addr" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/ipaddr.rs.html#42-53">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-Ipv4Addr" class="anchor">§</a><h3 class="code-header">impl&lt;'py&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; for <a class="struct" href="https://doc.rust-lang.org/1.85.1/core/net/ip_addr/struct.Ipv4Addr.html" title="struct core::net::ip_addr::Ipv4Addr">Ipv4Addr</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Target-89" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/ipaddr.rs.html#43">Source</a><a href="#associatedtype.Target-89" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyAny.html" title="struct pyo3::types::PyAny">PyAny</a></h4></section><section id="associatedtype.Output-89" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/ipaddr.rs.html#44">Source</a><a href="#associatedtype.Output-89" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;<a class="struct" href="https://doc.rust-lang.org/1.85.1/core/net/ip_addr/struct.Ipv4Addr.html" title="struct core::net::ip_addr::Ipv4Addr">Ipv4Addr</a> as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-89" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/ipaddr.rs.html#45">Source</a><a href="#associatedtype.Error-89" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="struct" href="../struct.PyErr.html" title="struct pyo3::PyErr">PyErr</a></h4></section><section id="method.into_pyobject-88" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/ipaddr.rs.html#47-52">Source</a><a href="#method.into_pyobject-88" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-Ipv6Addr" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/ipaddr.rs.html#74-85">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-Ipv6Addr" class="anchor">§</a><h3 class="code-header">impl&lt;'py&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; for <a class="struct" href="https://doc.rust-lang.org/1.85.1/core/net/ip_addr/struct.Ipv6Addr.html" title="struct core::net::ip_addr::Ipv6Addr">Ipv6Addr</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Target-90" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/ipaddr.rs.html#75">Source</a><a href="#associatedtype.Target-90" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyAny.html" title="struct pyo3::types::PyAny">PyAny</a></h4></section><section id="associatedtype.Output-90" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/ipaddr.rs.html#76">Source</a><a href="#associatedtype.Output-90" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;<a class="struct" href="https://doc.rust-lang.org/1.85.1/core/net/ip_addr/struct.Ipv6Addr.html" title="struct core::net::ip_addr::Ipv6Addr">Ipv6Addr</a> as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-90" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/ipaddr.rs.html#77">Source</a><a href="#associatedtype.Error-90" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="struct" href="../struct.PyErr.html" title="struct pyo3::PyErr">PyErr</a></h4></section><section id="method.into_pyobject-89" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/ipaddr.rs.html#79-84">Source</a><a href="#method.into_pyobject-89" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-Duration" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/time.rs.html#71-102">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-Duration" class="anchor">§</a><h3 class="code-header">impl&lt;'py&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; 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"><section id="associatedtype.Target-91" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/time.rs.html#73">Source</a><a href="#associatedtype.Target-91" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyDelta.html" title="struct pyo3::types::PyDelta">PyDelta</a></h4></section><section id="associatedtype.Output-91" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/time.rs.html#76">Source</a><a href="#associatedtype.Output-91" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;<a class="struct" href="https://doc.rust-lang.org/1.85.1/core/time/struct.Duration.html" title="struct core::time::Duration">Duration</a> as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-91" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/time.rs.html#77">Source</a><a href="#associatedtype.Error-91" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="struct" href="../struct.PyErr.html" title="struct pyo3::PyErr">PyErr</a></h4></section><section id="method.into_pyobject-90" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/time.rs.html#79-101">Source</a><a href="#method.into_pyobject-90" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-OsString" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/osstr.rs.html#199-208">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-OsString" class="anchor">§</a><h3 class="code-header">impl&lt;'py&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; 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"><section id="associatedtype.Target-92" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/osstr.rs.html#200">Source</a><a href="#associatedtype.Target-92" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyString.html" title="struct pyo3::types::PyString">PyString</a></h4></section><section id="associatedtype.Output-92" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/osstr.rs.html#201">Source</a><a href="#associatedtype.Output-92" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;<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> as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-92" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/osstr.rs.html#202">Source</a><a href="#associatedtype.Error-92" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section><section id="method.into_pyobject-91" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/osstr.rs.html#205-207">Source</a><a href="#method.into_pyobject-91" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-PathBuf" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/path.rs.html#118-127">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-PathBuf" class="anchor">§</a><h3 class="code-header">impl&lt;'py&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; 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"><section id="associatedtype.Target-93" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/path.rs.html#119">Source</a><a href="#associatedtype.Target-93" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyAny.html" title="struct pyo3::types::PyAny">PyAny</a></h4></section><section id="associatedtype.Output-93" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/path.rs.html#120">Source</a><a href="#associatedtype.Output-93" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;<a class="struct" href="https://doc.rust-lang.org/1.85.1/std/path/struct.PathBuf.html" title="struct std::path::PathBuf">PathBuf</a> as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-93" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/path.rs.html#121">Source</a><a href="#associatedtype.Error-93" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="struct" href="../struct.PyErr.html" title="struct pyo3::PyErr">PyErr</a></h4></section><section id="method.into_pyobject-92" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/path.rs.html#124-126">Source</a><a href="#method.into_pyobject-92" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-SystemTime" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/time.rs.html#153-165">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-SystemTime" class="anchor">§</a><h3 class="code-header">impl&lt;'py&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; 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"><section id="associatedtype.Target-94" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/time.rs.html#154">Source</a><a href="#associatedtype.Target-94" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyAny.html" title="struct pyo3::types::PyAny">PyAny</a></h4></section><section id="associatedtype.Output-94" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/time.rs.html#155">Source</a><a href="#associatedtype.Output-94" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;<a class="struct" href="https://doc.rust-lang.org/1.85.1/std/time/struct.SystemTime.html" title="struct std::time::SystemTime">SystemTime</a> as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-94" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/time.rs.html#156">Source</a><a href="#associatedtype.Error-94" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="struct" href="../struct.PyErr.html" title="struct pyo3::PyErr">PyErr</a></h4></section><section id="method.into_pyobject-93" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/time.rs.html#158-164">Source</a><a href="#method.into_pyobject-93" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%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-IntoPyObject%3C'py%3E-for-NonZero%3Ci8%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'py&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; 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"><section id="associatedtype.Target-95" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#680">Source</a><a href="#associatedtype.Target-95" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyInt.html" title="struct pyo3::types::PyInt">PyInt</a></h4></section><section id="associatedtype.Output-95" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#680">Source</a><a href="#associatedtype.Output-95" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;<a class="struct" href="https://doc.rust-lang.org/1.85.1/core/num/nonzero/struct.NonZero.html" title="struct core::num::nonzero::NonZero">NonZero</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.i8.html">i8</a>&gt; as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-95" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#680">Source</a><a href="#associatedtype.Error-95" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section><section id="method.into_pyobject-94" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#680">Source</a><a href="#method.into_pyobject-94" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%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-IntoPyObject%3C'py%3E-for-NonZero%3Ci16%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'py&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; 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"><section id="associatedtype.Target-96" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#681">Source</a><a href="#associatedtype.Target-96" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyInt.html" title="struct pyo3::types::PyInt">PyInt</a></h4></section><section id="associatedtype.Output-96" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#681">Source</a><a href="#associatedtype.Output-96" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;<a class="struct" href="https://doc.rust-lang.org/1.85.1/core/num/nonzero/struct.NonZero.html" title="struct core::num::nonzero::NonZero">NonZero</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.i16.html">i16</a>&gt; as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-96" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#681">Source</a><a href="#associatedtype.Error-96" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section><section id="method.into_pyobject-95" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#681">Source</a><a href="#method.into_pyobject-95" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%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-IntoPyObject%3C'py%3E-for-NonZero%3Ci32%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'py&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; 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"><section id="associatedtype.Target-97" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#682">Source</a><a href="#associatedtype.Target-97" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyInt.html" title="struct pyo3::types::PyInt">PyInt</a></h4></section><section id="associatedtype.Output-97" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#682">Source</a><a href="#associatedtype.Output-97" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;<a class="struct" href="https://doc.rust-lang.org/1.85.1/core/num/nonzero/struct.NonZero.html" title="struct core::num::nonzero::NonZero">NonZero</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.i32.html">i32</a>&gt; as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-97" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#682">Source</a><a href="#associatedtype.Error-97" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section><section id="method.into_pyobject-96" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#682">Source</a><a href="#method.into_pyobject-96" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%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-IntoPyObject%3C'py%3E-for-NonZero%3Ci64%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'py&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; 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"><section id="associatedtype.Target-98" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#683">Source</a><a href="#associatedtype.Target-98" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyInt.html" title="struct pyo3::types::PyInt">PyInt</a></h4></section><section id="associatedtype.Output-98" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#683">Source</a><a href="#associatedtype.Output-98" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;<a class="struct" href="https://doc.rust-lang.org/1.85.1/core/num/nonzero/struct.NonZero.html" title="struct core::num::nonzero::NonZero">NonZero</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.i64.html">i64</a>&gt; as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-98" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#683">Source</a><a href="#associatedtype.Error-98" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section><section id="method.into_pyobject-97" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#683">Source</a><a href="#method.into_pyobject-97" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%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-IntoPyObject%3C'py%3E-for-NonZero%3Ci128%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'py&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; 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"><section id="associatedtype.Target-99" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#684">Source</a><a href="#associatedtype.Target-99" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyInt.html" title="struct pyo3::types::PyInt">PyInt</a></h4></section><section id="associatedtype.Output-99" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#684">Source</a><a href="#associatedtype.Output-99" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;<a class="struct" href="https://doc.rust-lang.org/1.85.1/core/num/nonzero/struct.NonZero.html" title="struct core::num::nonzero::NonZero">NonZero</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.i128.html">i128</a>&gt; as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-99" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#684">Source</a><a href="#associatedtype.Error-99" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section><section id="method.into_pyobject-98" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#684">Source</a><a href="#method.into_pyobject-98" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%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-IntoPyObject%3C'py%3E-for-NonZero%3Cisize%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'py&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; 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"><section id="associatedtype.Target-100" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#685">Source</a><a href="#associatedtype.Target-100" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyInt.html" title="struct pyo3::types::PyInt">PyInt</a></h4></section><section id="associatedtype.Output-100" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#685">Source</a><a href="#associatedtype.Output-100" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;<a class="struct" href="https://doc.rust-lang.org/1.85.1/core/num/nonzero/struct.NonZero.html" title="struct core::num::nonzero::NonZero">NonZero</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.isize.html">isize</a>&gt; as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-100" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#685">Source</a><a href="#associatedtype.Error-100" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section><section id="method.into_pyobject-99" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#685">Source</a><a href="#method.into_pyobject-99" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%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-IntoPyObject%3C'py%3E-for-NonZero%3Cu8%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'py&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; 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"><section id="associatedtype.Target-101" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#686">Source</a><a href="#associatedtype.Target-101" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyInt.html" title="struct pyo3::types::PyInt">PyInt</a></h4></section><section id="associatedtype.Output-101" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#686">Source</a><a href="#associatedtype.Output-101" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;<a class="struct" href="https://doc.rust-lang.org/1.85.1/core/num/nonzero/struct.NonZero.html" title="struct core::num::nonzero::NonZero">NonZero</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.u8.html">u8</a>&gt; as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-101" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#686">Source</a><a href="#associatedtype.Error-101" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section><section id="method.into_pyobject-100" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#686">Source</a><a href="#method.into_pyobject-100" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%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-IntoPyObject%3C'py%3E-for-NonZero%3Cu16%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'py&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; 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"><section id="associatedtype.Target-102" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#687">Source</a><a href="#associatedtype.Target-102" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyInt.html" title="struct pyo3::types::PyInt">PyInt</a></h4></section><section id="associatedtype.Output-102" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#687">Source</a><a href="#associatedtype.Output-102" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;<a class="struct" href="https://doc.rust-lang.org/1.85.1/core/num/nonzero/struct.NonZero.html" title="struct core::num::nonzero::NonZero">NonZero</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.u16.html">u16</a>&gt; as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-102" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#687">Source</a><a href="#associatedtype.Error-102" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section><section id="method.into_pyobject-101" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#687">Source</a><a href="#method.into_pyobject-101" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%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-IntoPyObject%3C'py%3E-for-NonZero%3Cu32%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'py&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; 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"><section id="associatedtype.Target-103" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#688">Source</a><a href="#associatedtype.Target-103" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyInt.html" title="struct pyo3::types::PyInt">PyInt</a></h4></section><section id="associatedtype.Output-103" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#688">Source</a><a href="#associatedtype.Output-103" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;<a class="struct" href="https://doc.rust-lang.org/1.85.1/core/num/nonzero/struct.NonZero.html" title="struct core::num::nonzero::NonZero">NonZero</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.u32.html">u32</a>&gt; as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-103" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#688">Source</a><a href="#associatedtype.Error-103" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section><section id="method.into_pyobject-102" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#688">Source</a><a href="#method.into_pyobject-102" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%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-IntoPyObject%3C'py%3E-for-NonZero%3Cu64%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'py&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; 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"><section id="associatedtype.Target-104" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#689">Source</a><a href="#associatedtype.Target-104" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyInt.html" title="struct pyo3::types::PyInt">PyInt</a></h4></section><section id="associatedtype.Output-104" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#689">Source</a><a href="#associatedtype.Output-104" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;<a class="struct" href="https://doc.rust-lang.org/1.85.1/core/num/nonzero/struct.NonZero.html" title="struct core::num::nonzero::NonZero">NonZero</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.u64.html">u64</a>&gt; as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-104" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#689">Source</a><a href="#associatedtype.Error-104" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section><section id="method.into_pyobject-103" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#689">Source</a><a href="#method.into_pyobject-103" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%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-IntoPyObject%3C'py%3E-for-NonZero%3Cu128%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'py&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; 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"><section id="associatedtype.Target-105" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#690">Source</a><a href="#associatedtype.Target-105" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyInt.html" title="struct pyo3::types::PyInt">PyInt</a></h4></section><section id="associatedtype.Output-105" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#690">Source</a><a href="#associatedtype.Output-105" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;<a class="struct" href="https://doc.rust-lang.org/1.85.1/core/num/nonzero/struct.NonZero.html" title="struct core::num::nonzero::NonZero">NonZero</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.u128.html">u128</a>&gt; as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-105" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#690">Source</a><a href="#associatedtype.Error-105" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section><section id="method.into_pyobject-104" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#690">Source</a><a href="#method.into_pyobject-104" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%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-IntoPyObject%3C'py%3E-for-NonZero%3Cusize%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'py&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; 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"><section id="associatedtype.Target-106" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#691">Source</a><a href="#associatedtype.Target-106" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyInt.html" title="struct pyo3::types::PyInt">PyInt</a></h4></section><section id="associatedtype.Output-106" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#691">Source</a><a href="#associatedtype.Output-106" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;<a class="struct" href="https://doc.rust-lang.org/1.85.1/core/num/nonzero/struct.NonZero.html" title="struct core::num::nonzero::NonZero">NonZero</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.usize.html">usize</a>&gt; as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-106" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#691">Source</a><a href="#associatedtype.Error-106" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section><section id="method.into_pyobject-105" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/num.rs.html#691">Source</a><a href="#method.into_pyobject-105" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-BTreeSet%3CK%3E" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/set.rs.html#132-148">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-BTreeSet%3CK%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'py, K&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; 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>&lt;K&gt;<div class="where">where
K: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; + <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"><section id="associatedtype.Target-107" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/set.rs.html#136">Source</a><a href="#associatedtype.Target-107" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PySet.html" title="struct pyo3::types::PySet">PySet</a></h4></section><section id="associatedtype.Output-107" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/set.rs.html#137">Source</a><a href="#associatedtype.Output-107" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;<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>&lt;K&gt; as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-107" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/set.rs.html#138">Source</a><a href="#associatedtype.Error-107" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="struct" href="../struct.PyErr.html" title="struct pyo3::PyErr">PyErr</a></h4></section><section id="method.into_pyobject-106" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/set.rs.html#140-142">Source</a><a href="#method.into_pyobject-106" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-HashSet%3CK,+S%3E" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/set.rs.html#57-74">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-HashSet%3CK,+S%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'py, K, S&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; 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>&lt;K, S&gt;<div class="where">where
K: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; + <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"><section id="associatedtype.Target-108" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/set.rs.html#62">Source</a><a href="#associatedtype.Target-108" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PySet.html" title="struct pyo3::types::PySet">PySet</a></h4></section><section id="associatedtype.Output-108" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/set.rs.html#63">Source</a><a href="#associatedtype.Output-108" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;<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>&lt;K, S&gt; as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-108" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/set.rs.html#64">Source</a><a href="#associatedtype.Error-108" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="struct" href="../struct.PyErr.html" title="struct pyo3::PyErr">PyErr</a></h4></section><section id="method.into_pyobject-107" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/set.rs.html#66-68">Source</a><a href="#method.into_pyobject-107" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-BTreeMap%3CK,+V%3E" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/map.rs.html#126-147">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-BTreeMap%3CK,+V%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'py, K, V&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; 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>&lt;K, V&gt;<div class="where">where
K: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; + <a class="trait" href="https://doc.rust-lang.org/1.85.1/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a>,
V: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Target-109" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/map.rs.html#131">Source</a><a href="#associatedtype.Target-109" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyDict.html" title="struct pyo3::types::PyDict">PyDict</a></h4></section><section id="associatedtype.Output-109" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/map.rs.html#132">Source</a><a href="#associatedtype.Output-109" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;<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>&lt;K, V&gt; as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-109" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/map.rs.html#133">Source</a><a href="#associatedtype.Error-109" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="struct" href="../struct.PyErr.html" title="struct pyo3::PyErr">PyErr</a></h4></section><section id="method.into_pyobject-108" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/map.rs.html#135-141">Source</a><a href="#method.into_pyobject-108" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-HashMap%3CK,+V,+H%3E" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/map.rs.html#61-83">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-HashMap%3CK,+V,+H%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'py, K, V, H&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; 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>&lt;K, V, H&gt;<div class="where">where
K: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; + <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>,
V: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
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"><section id="associatedtype.Target-110" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/map.rs.html#67">Source</a><a href="#associatedtype.Target-110" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyDict.html" title="struct pyo3::types::PyDict">PyDict</a></h4></section><section id="associatedtype.Output-110" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/map.rs.html#68">Source</a><a href="#associatedtype.Output-110" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;<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>&lt;K, V, H&gt; as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-110" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/map.rs.html#69">Source</a><a href="#associatedtype.Error-110" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="struct" href="../struct.PyErr.html" title="struct pyo3::PyErr">PyErr</a></h4></section><section id="method.into_pyobject-109" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/map.rs.html#71-77">Source</a><a href="#method.into_pyobject-109" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-(T0,)" class="impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#988">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-(T0,)" class="anchor">§</a><h3 class="code-header">impl&lt;'py, T0&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; for <a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.tuple.html">(T0,)</a><div class="where">where
T0: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Target-111" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#988">Source</a><a href="#associatedtype.Target-111" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyTuple.html" title="struct pyo3::types::PyTuple">PyTuple</a></h4></section><section id="associatedtype.Output-111" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#988">Source</a><a href="#associatedtype.Output-111" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.tuple.html">(T0,)</a> as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-111" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#988">Source</a><a href="#associatedtype.Error-111" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="struct" href="../struct.PyErr.html" title="struct pyo3::PyErr">PyErr</a></h4></section><section id="method.into_pyobject-110" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#988">Source</a><a href="#method.into_pyobject-110" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-(T0,+T1)" class="impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#989">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-(T0,+T1)" class="anchor">§</a><h3 class="code-header">impl&lt;'py, T0, T1&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; for <a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.tuple.html">(T0, T1)</a><div class="where">where
T0: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
T1: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Target-112" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#989">Source</a><a href="#associatedtype.Target-112" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyTuple.html" title="struct pyo3::types::PyTuple">PyTuple</a></h4></section><section id="associatedtype.Output-112" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#989">Source</a><a href="#associatedtype.Output-112" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.tuple.html">(T0, T1)</a> as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-112" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#989">Source</a><a href="#associatedtype.Error-112" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="struct" href="../struct.PyErr.html" title="struct pyo3::PyErr">PyErr</a></h4></section><section id="method.into_pyobject-111" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#989">Source</a><a href="#method.into_pyobject-111" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-(T0,+T1,+T2)" class="impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#990">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-(T0,+T1,+T2)" class="anchor">§</a><h3 class="code-header">impl&lt;'py, T0, T1, T2&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; for <a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.tuple.html">(T0, T1, T2)</a><div class="where">where
T0: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
T1: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
T2: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Target-113" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#990">Source</a><a href="#associatedtype.Target-113" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyTuple.html" title="struct pyo3::types::PyTuple">PyTuple</a></h4></section><section id="associatedtype.Output-113" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#990">Source</a><a href="#associatedtype.Output-113" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.tuple.html">(T0, T1, T2)</a> as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-113" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#990">Source</a><a href="#associatedtype.Error-113" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="struct" href="../struct.PyErr.html" title="struct pyo3::PyErr">PyErr</a></h4></section><section id="method.into_pyobject-112" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#990">Source</a><a href="#method.into_pyobject-112" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%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-IntoPyObject%3C'py%3E-for-(T0,+T1,+T2,+T3)" class="anchor">§</a><h3 class="code-header">impl&lt;'py, T0, T1, T2, T3&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; for <a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.tuple.html">(T0, T1, T2, T3)</a><div class="where">where
T0: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
T1: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
T2: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
T3: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Target-114" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#991-997">Source</a><a href="#associatedtype.Target-114" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyTuple.html" title="struct pyo3::types::PyTuple">PyTuple</a></h4></section><section id="associatedtype.Output-114" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#991-997">Source</a><a href="#associatedtype.Output-114" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.tuple.html">(T0, T1, T2, T3)</a> as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-114" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#991-997">Source</a><a href="#associatedtype.Error-114" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="struct" href="../struct.PyErr.html" title="struct pyo3::PyErr">PyErr</a></h4></section><section id="method.into_pyobject-113" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#991-997">Source</a><a href="#method.into_pyobject-113" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%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-IntoPyObject%3C'py%3E-for-(T0,+T1,+T2,+T3,+T4)" class="anchor">§</a><h3 class="code-header">impl&lt;'py, T0, T1, T2, T3, T4&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; for <a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.tuple.html">(T0, T1, T2, T3, T4)</a><div class="where">where
T0: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
T1: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
T2: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
T3: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
T4: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Target-115" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#998-1005">Source</a><a href="#associatedtype.Target-115" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyTuple.html" title="struct pyo3::types::PyTuple">PyTuple</a></h4></section><section id="associatedtype.Output-115" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#998-1005">Source</a><a href="#associatedtype.Output-115" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.tuple.html">(T0, T1, T2, T3, T4)</a> as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-115" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#998-1005">Source</a><a href="#associatedtype.Error-115" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="struct" href="../struct.PyErr.html" title="struct pyo3::PyErr">PyErr</a></h4></section><section id="method.into_pyobject-114" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#998-1005">Source</a><a href="#method.into_pyobject-114" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%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-IntoPyObject%3C'py%3E-for-(T0,+T1,+T2,+T3,+T4,+T5)" class="anchor">§</a><h3 class="code-header">impl&lt;'py, T0, T1, T2, T3, T4, T5&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; for <a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.tuple.html">(T0, T1, T2, T3, T4, T5)</a><div class="where">where
T0: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
T1: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
T2: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
T3: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
T4: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
T5: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Target-116" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#1006-1014">Source</a><a href="#associatedtype.Target-116" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyTuple.html" title="struct pyo3::types::PyTuple">PyTuple</a></h4></section><section id="associatedtype.Output-116" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#1006-1014">Source</a><a href="#associatedtype.Output-116" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.tuple.html">(T0, T1, T2, T3, T4, T5)</a> as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-116" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#1006-1014">Source</a><a href="#associatedtype.Error-116" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="struct" href="../struct.PyErr.html" title="struct pyo3::PyErr">PyErr</a></h4></section><section id="method.into_pyobject-115" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#1006-1014">Source</a><a href="#method.into_pyobject-115" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%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-IntoPyObject%3C'py%3E-for-(T0,+T1,+T2,+T3,+T4,+T5,+T6)" class="anchor">§</a><h3 class="code-header">impl&lt;'py, T0, T1, T2, T3, T4, T5, T6&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; 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><div class="where">where
T0: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
T1: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
T2: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
T3: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
T4: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
T5: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
T6: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Target-117" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#1015-1024">Source</a><a href="#associatedtype.Target-117" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyTuple.html" title="struct pyo3::types::PyTuple">PyTuple</a></h4></section><section id="associatedtype.Output-117" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#1015-1024">Source</a><a href="#associatedtype.Output-117" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.tuple.html">(T0, T1, T2, T3, T4, T5, T6)</a> as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-117" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#1015-1024">Source</a><a href="#associatedtype.Error-117" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="struct" href="../struct.PyErr.html" title="struct pyo3::PyErr">PyErr</a></h4></section><section id="method.into_pyobject-116" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#1015-1024">Source</a><a href="#method.into_pyobject-116" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%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-IntoPyObject%3C'py%3E-for-(T0,+T1,+T2,+T3,+T4,+T5,+T6,+T7)" class="anchor">§</a><h3 class="code-header">impl&lt;'py, T0, T1, T2, T3, T4, T5, T6, T7&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; 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><div class="where">where
T0: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
T1: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
T2: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
T3: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
T4: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
T5: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
T6: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
T7: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Target-118" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#1025-1035">Source</a><a href="#associatedtype.Target-118" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyTuple.html" title="struct pyo3::types::PyTuple">PyTuple</a></h4></section><section id="associatedtype.Output-118" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#1025-1035">Source</a><a href="#associatedtype.Output-118" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;<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> as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-118" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#1025-1035">Source</a><a href="#associatedtype.Error-118" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="struct" href="../struct.PyErr.html" title="struct pyo3::PyErr">PyErr</a></h4></section><section id="method.into_pyobject-117" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#1025-1035">Source</a><a href="#method.into_pyobject-117" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%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-IntoPyObject%3C'py%3E-for-(T0,+T1,+T2,+T3,+T4,+T5,+T6,+T7,+T8)" class="anchor">§</a><h3 class="code-header">impl&lt;'py, T0, T1, T2, T3, T4, T5, T6, T7, T8&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; 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><div class="where">where
T0: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
T1: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
T2: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
T3: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
T4: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
T5: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
T6: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
T7: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
T8: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Target-119" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#1036-1047">Source</a><a href="#associatedtype.Target-119" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyTuple.html" title="struct pyo3::types::PyTuple">PyTuple</a></h4></section><section id="associatedtype.Output-119" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#1036-1047">Source</a><a href="#associatedtype.Output-119" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;<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> as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-119" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#1036-1047">Source</a><a href="#associatedtype.Error-119" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="struct" href="../struct.PyErr.html" title="struct pyo3::PyErr">PyErr</a></h4></section><section id="method.into_pyobject-118" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#1036-1047">Source</a><a href="#method.into_pyobject-118" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%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-IntoPyObject%3C'py%3E-for-(T0,+T1,+T2,+T3,+T4,+T5,+T6,+T7,+T8,+T9)" class="anchor">§</a><h3 class="code-header">impl&lt;'py, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; 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><div class="where">where
T0: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
T1: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
T2: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
T3: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
T4: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
T5: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
T6: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
T7: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
T8: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
T9: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Target-120" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#1048-1060">Source</a><a href="#associatedtype.Target-120" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyTuple.html" title="struct pyo3::types::PyTuple">PyTuple</a></h4></section><section id="associatedtype.Output-120" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#1048-1060">Source</a><a href="#associatedtype.Output-120" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;<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> as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-120" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#1048-1060">Source</a><a href="#associatedtype.Error-120" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="struct" href="../struct.PyErr.html" title="struct pyo3::PyErr">PyErr</a></h4></section><section id="method.into_pyobject-119" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#1048-1060">Source</a><a href="#method.into_pyobject-119" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%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-IntoPyObject%3C'py%3E-for-(T0,+T1,+T2,+T3,+T4,+T5,+T6,+T7,+T8,+T9,+T10)" class="anchor">§</a><h3 class="code-header">impl&lt;'py, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; 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><div class="where">where
T0: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
T1: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
T2: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
T3: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
T4: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
T5: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
T6: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
T7: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
T8: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
T9: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
T10: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Target-121" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#1061-1074">Source</a><a href="#associatedtype.Target-121" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyTuple.html" title="struct pyo3::types::PyTuple">PyTuple</a></h4></section><section id="associatedtype.Output-121" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#1061-1074">Source</a><a href="#associatedtype.Output-121" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;<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> as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-121" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#1061-1074">Source</a><a href="#associatedtype.Error-121" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="struct" href="../struct.PyErr.html" title="struct pyo3::PyErr">PyErr</a></h4></section><section id="method.into_pyobject-120" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#1061-1074">Source</a><a href="#method.into_pyobject-120" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%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-IntoPyObject%3C'py%3E-for-(T0,+T1,+T2,+T3,+T4,+T5,+T6,+T7,+T8,+T9,+T10,+T11)" class="anchor">§</a><h3 class="code-header">impl&lt;'py, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; 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><div class="where">where
T0: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
T1: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
T2: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
T3: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
T4: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
T5: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
T6: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
T7: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
T8: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
T9: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
T10: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,
T11: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Target-122" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#1076-1090">Source</a><a href="#associatedtype.Target-122" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyTuple.html" title="struct pyo3::types::PyTuple">PyTuple</a></h4></section><section id="associatedtype.Output-122" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#1076-1090">Source</a><a href="#associatedtype.Output-122" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;<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> as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-122" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#1076-1090">Source</a><a href="#associatedtype.Error-122" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="struct" href="../struct.PyErr.html" title="struct pyo3::PyErr">PyErr</a></h4></section><section id="method.into_pyobject-121" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/types/tuple.rs.html#1076-1090">Source</a><a href="#method.into_pyobject-121" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-Cow%3C'_,+%5BT%5D%3E" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/slice.rs.html#93-110">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-Cow%3C'_,+%5BT%5D%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'py, T&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; 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>&lt;'_, <a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.slice.html">[T]</a>&gt;<div class="where">where
T: <a class="trait" href="https://doc.rust-lang.org/1.85.1/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,
for&lt;'a&gt; <a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.reference.html">&amp;'a T</a>: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_pyobject-122" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/slice.rs.html#107-109">Source</a><a href="#method.into_pyobject-122" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></summary><div class="docblock"><p>Turns <code>Cow&lt;[u8]&gt;</code> into <a href="../types/struct.PyBytes.html" title="struct pyo3::types::PyBytes"><code>PyBytes</code></a>, all other <code>T</code>s will be turned into a <a href="../types/struct.PyList.html" title="struct pyo3::types::PyList"><code>PyList</code></a></p>
</div></details><section id="associatedtype.Target-123" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/slice.rs.html#98">Source</a><a href="#associatedtype.Target-123" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyAny.html" title="struct pyo3::types::PyAny">PyAny</a></h4></section><section id="associatedtype.Output-123" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/slice.rs.html#99">Source</a><a href="#associatedtype.Output-123" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;<a class="enum" href="https://doc.rust-lang.org/1.85.1/alloc/borrow/enum.Cow.html" title="enum alloc::borrow::Cow">Cow</a>&lt;'_, <a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.slice.html">[T]</a>&gt; as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-123" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/slice.rs.html#100">Source</a><a href="#associatedtype.Error-123" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="struct" href="../struct.PyErr.html" title="struct pyo3::PyErr">PyErr</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-Option%3CT%3E" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/option.rs.html#29-47">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-Option%3CT%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'py, T&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; 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>&lt;T&gt;<div class="where">where
T: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Target-124" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/option.rs.html#33">Source</a><a href="#associatedtype.Target-124" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyAny.html" title="struct pyo3::types::PyAny">PyAny</a></h4></section><section id="associatedtype.Output-124" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/option.rs.html#34">Source</a><a href="#associatedtype.Output-124" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;<a class="enum" href="https://doc.rust-lang.org/1.85.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;T&gt; as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-124" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/option.rs.html#35">Source</a><a href="#associatedtype.Error-124" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = &lt;T as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a></h4></section><section id="method.into_pyobject-123" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/option.rs.html#37-46">Source</a><a href="#method.into_pyobject-123" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-Vec%3CT%3E" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/vec.rs.html#43-64">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-Vec%3CT%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'py, T&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; 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>&lt;T&gt;<div class="where">where
T: <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_pyobject-124" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/vec.rs.html#56-58">Source</a><a href="#method.into_pyobject-124" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></summary><div class="docblock"><p>Turns <a href="https://doc.rust-lang.org/1.85.1/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec"><code>Vec&lt;u8&gt;</code></a> into <a href="../types/struct.PyBytes.html" title="struct pyo3::types::PyBytes"><code>PyBytes</code></a>, all other <code>T</code>s will be turned into a <a href="../types/struct.PyList.html" title="struct pyo3::types::PyList"><code>PyList</code></a></p>
</div></details><section id="associatedtype.Target-125" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/vec.rs.html#47">Source</a><a href="#associatedtype.Target-125" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyAny.html" title="struct pyo3::types::PyAny">PyAny</a></h4></section><section id="associatedtype.Output-125" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/vec.rs.html#48">Source</a><a href="#associatedtype.Output-125" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;<a class="struct" href="https://doc.rust-lang.org/1.85.1/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;T&gt; as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-125" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/vec.rs.html#49">Source</a><a href="#associatedtype.Error-125" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="struct" href="../struct.PyErr.html" title="struct pyo3::PyErr">PyErr</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-%5BT;+N%5D" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/array.rs.html#40-56">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-%5BT;+N%5D" class="anchor">§</a><h3 class="code-header">impl&lt;'py, T, const N: <a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.usize.html">usize</a>&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; 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.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_pyobject-125" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/array.rs.html#53-55">Source</a><a href="#method.into_pyobject-125" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></summary><div class="docblock"><p>Turns <a href="https://doc.rust-lang.org/1.85.1/core/array/index.html" title="mod core::array"><code>[u8; N]</code></a> into <a href="../types/struct.PyBytes.html" title="struct pyo3::types::PyBytes"><code>PyBytes</code></a>, all other <code>T</code>s will be turned into a <a href="../types/struct.PyList.html" title="struct pyo3::types::PyList"><code>PyList</code></a></p>
</div></details><section id="associatedtype.Target-126" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/array.rs.html#44">Source</a><a href="#associatedtype.Target-126" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyAny.html" title="struct pyo3::types::PyAny">PyAny</a></h4></section><section id="associatedtype.Output-126" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/array.rs.html#45">Source</a><a href="#associatedtype.Output-126" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;<a class="primitive" href="https://doc.rust-lang.org/1.85.1/std/primitive.array.html">[T; N]</a> as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-126" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/array.rs.html#46">Source</a><a href="#associatedtype.Error-126" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="struct" href="../struct.PyErr.html" title="struct pyo3::PyErr">PyErr</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-%26Cell%3CT%3E" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/cell.rs.html#33-42">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-%26Cell%3CT%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'py, 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.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; for &amp;<a class="struct" href="https://doc.rust-lang.org/1.85.1/core/cell/struct.Cell.html" title="struct core::cell::Cell">Cell</a>&lt;T&gt;</h3></section></summary><div class="impl-items"><section id="associatedtype.Target-127" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/cell.rs.html#34">Source</a><a href="#associatedtype.Target-127" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = &lt;T as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a></h4></section><section id="associatedtype.Output-127" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/cell.rs.html#35">Source</a><a href="#associatedtype.Output-127" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = &lt;T as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a></h4></section><section id="associatedtype.Error-127" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/cell.rs.html#36">Source</a><a href="#associatedtype.Error-127" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = &lt;T as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a></h4></section><section id="method.into_pyobject-126" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/cell.rs.html#39-41">Source</a><a href="#method.into_pyobject-126" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-Cell%3CT%3E" class="impl"><a class="src rightside" href="../../src/pyo3/conversions/std/cell.rs.html#22-31">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-Cell%3CT%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'py, 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.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; 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>&lt;T&gt;</h3></section></summary><div class="impl-items"><section id="associatedtype.Target-128" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/cell.rs.html#23">Source</a><a href="#associatedtype.Target-128" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = &lt;T as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a></h4></section><section id="associatedtype.Output-128" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/cell.rs.html#24">Source</a><a href="#associatedtype.Output-128" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = &lt;T as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a></h4></section><section id="associatedtype.Error-128" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/cell.rs.html#25">Source</a><a href="#associatedtype.Error-128" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = &lt;T as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a></h4></section><section id="method.into_pyobject-127" class="method trait-impl"><a class="src rightside" href="../../src/pyo3/conversions/std/cell.rs.html#28-30">Source</a><a href="#method.into_pyobject-127" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.into_pyobject" class="fn">into_pyobject</a>(self, py: <a class="struct" href="../marker/struct.Python.html" title="struct pyo3::marker::Python">Python</a>&lt;'py&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Output" title="type pyo3::conversion::IntoPyObject::Output">Output</a>, Self::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Error" title="type pyo3::conversion::IntoPyObject::Error">Error</a>&gt;</h4></section></div></details><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-%26Bound%3C'py,+T%3E" class="impl"><a class="src rightside" href="../../src/pyo3/conversion.rs.html#291-299">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-%26Bound%3C'py,+T%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'a, 'py, T&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; for &amp;'a <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, T&gt;</h3></section></summary><div class="impl-items"><section id="associatedtype.Target-129" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversion.rs.html#292">Source</a><a href="#associatedtype.Target-129" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = T</h4></section><section id="associatedtype.Output-129" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversion.rs.html#293">Source</a><a href="#associatedtype.Output-129" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Borrowed.html" title="struct pyo3::Borrowed">Borrowed</a>&lt;'a, 'py, &lt;&amp;'a <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, T&gt; as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-129" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversion.rs.html#294">Source</a><a href="#associatedtype.Error-129" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-%26Py%3CT%3E" class="impl"><a class="src rightside" href="../../src/pyo3/conversion.rs.html#331-339">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-%26Py%3CT%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'a, 'py, T&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; for &amp;'a <a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a>&lt;T&gt;</h3></section></summary><div class="impl-items"><section id="associatedtype.Target-130" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversion.rs.html#332">Source</a><a href="#associatedtype.Target-130" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = T</h4></section><section id="associatedtype.Output-130" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversion.rs.html#333">Source</a><a href="#associatedtype.Output-130" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Borrowed.html" title="struct pyo3::Borrowed">Borrowed</a>&lt;'a, 'py, &lt;&amp;'a <a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a>&lt;T&gt; as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-130" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversion.rs.html#334">Source</a><a href="#associatedtype.Error-130" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-%26Borrowed%3C'a,+'py,+T%3E" class="impl"><a class="src rightside" href="../../src/pyo3/conversion.rs.html#311-319">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-%26Borrowed%3C'a,+'py,+T%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'a, 'py, T&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; for &amp;<a class="struct" href="../struct.Borrowed.html" title="struct pyo3::Borrowed">Borrowed</a>&lt;'a, 'py, T&gt;</h3></section></summary><div class="impl-items"><section id="associatedtype.Target-131" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversion.rs.html#312">Source</a><a href="#associatedtype.Target-131" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = T</h4></section><section id="associatedtype.Output-131" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversion.rs.html#313">Source</a><a href="#associatedtype.Output-131" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Borrowed.html" title="struct pyo3::Borrowed">Borrowed</a>&lt;'a, 'py, &lt;&amp;<a class="struct" href="../struct.Borrowed.html" title="struct pyo3::Borrowed">Borrowed</a>&lt;'a, 'py, T&gt; as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-131" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversion.rs.html#314">Source</a><a href="#associatedtype.Error-131" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-Borrowed%3C'a,+'py,+T%3E" class="impl"><a class="src rightside" href="../../src/pyo3/conversion.rs.html#301-309">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-Borrowed%3C'a,+'py,+T%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'a, 'py, T&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; for <a class="struct" href="../struct.Borrowed.html" title="struct pyo3::Borrowed">Borrowed</a>&lt;'a, 'py, T&gt;</h3></section></summary><div class="impl-items"><section id="associatedtype.Target-132" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversion.rs.html#302">Source</a><a href="#associatedtype.Target-132" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = T</h4></section><section id="associatedtype.Output-132" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversion.rs.html#303">Source</a><a href="#associatedtype.Output-132" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Borrowed.html" title="struct pyo3::Borrowed">Borrowed</a>&lt;'a, 'py, &lt;<a class="struct" href="../struct.Borrowed.html" title="struct pyo3::Borrowed">Borrowed</a>&lt;'a, 'py, T&gt; as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-132" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversion.rs.html#304">Source</a><a href="#associatedtype.Error-132" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-%26PyRef%3C'py,+T%3E" class="impl"><a class="src rightside" href="../../src/pyo3/pycell.rs.html#476-484">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-%26PyRef%3C'py,+T%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'a, 'py, T: <a class="trait" href="../pyclass/trait.PyClass.html" title="trait pyo3::pyclass::PyClass">PyClass</a>&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; for &amp;'a <a class="struct" href="../pycell/struct.PyRef.html" title="struct pyo3::pycell::PyRef">PyRef</a>&lt;'py, T&gt;</h3></section></summary><div class="impl-items"><section id="associatedtype.Target-133" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/pycell.rs.html#477">Source</a><a href="#associatedtype.Target-133" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = T</h4></section><section id="associatedtype.Output-133" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/pycell.rs.html#478">Source</a><a href="#associatedtype.Output-133" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Borrowed.html" title="struct pyo3::Borrowed">Borrowed</a>&lt;'a, 'py, T&gt;</h4></section><section id="associatedtype.Error-133" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/pycell.rs.html#479">Source</a><a href="#associatedtype.Error-133" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-%26PyRefMut%3C'py,+T%3E" class="impl"><a class="src rightside" href="../../src/pyo3/pycell.rs.html#667-675">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-%26PyRefMut%3C'py,+T%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'a, 'py, T: <a class="trait" href="../pyclass/trait.PyClass.html" title="trait pyo3::pyclass::PyClass">PyClass</a>&lt;Frozen = False&gt;&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; for &amp;'a <a class="struct" href="../pycell/struct.PyRefMut.html" title="struct pyo3::pycell::PyRefMut">PyRefMut</a>&lt;'py, T&gt;</h3></section></summary><div class="impl-items"><section id="associatedtype.Target-134" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/pycell.rs.html#668">Source</a><a href="#associatedtype.Target-134" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = T</h4></section><section id="associatedtype.Output-134" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/pycell.rs.html#669">Source</a><a href="#associatedtype.Output-134" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Borrowed.html" title="struct pyo3::Borrowed">Borrowed</a>&lt;'a, 'py, T&gt;</h4></section><section id="associatedtype.Error-134" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/pycell.rs.html#670">Source</a><a href="#associatedtype.Error-134" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-%26PyBackedBytes" class="impl"><a class="src rightside" href="../../src/pyo3/pybacked.rs.html#275-286">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-%26PyBackedBytes" class="anchor">§</a><h3 class="code-header">impl&lt;'py&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; for &amp;<a class="struct" href="../pybacked/struct.PyBackedBytes.html" title="struct pyo3::pybacked::PyBackedBytes">PyBackedBytes</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Target-135" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/pybacked.rs.html#276">Source</a><a href="#associatedtype.Target-135" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyBytes.html" title="struct pyo3::types::PyBytes">PyBytes</a></h4></section><section id="associatedtype.Output-135" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/pybacked.rs.html#277">Source</a><a href="#associatedtype.Output-135" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;&amp;<a class="struct" href="../pybacked/struct.PyBackedBytes.html" title="struct pyo3::pybacked::PyBackedBytes">PyBackedBytes</a> as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-135" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/pybacked.rs.html#278">Source</a><a href="#associatedtype.Error-135" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-%26PyBackedStr" class="impl"><a class="src rightside" href="../../src/pyo3/pybacked.rs.html#130-144">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-%26PyBackedStr" class="anchor">§</a><h3 class="code-header">impl&lt;'py&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; for &amp;<a class="struct" href="../pybacked/struct.PyBackedStr.html" title="struct pyo3::pybacked::PyBackedStr">PyBackedStr</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Target-136" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/pybacked.rs.html#131">Source</a><a href="#associatedtype.Target-136" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyAny.html" title="struct pyo3::types::PyAny">PyAny</a></h4></section><section id="associatedtype.Output-136" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/pybacked.rs.html#132">Source</a><a href="#associatedtype.Output-136" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;&amp;<a class="struct" href="../pybacked/struct.PyBackedStr.html" title="struct pyo3::pybacked::PyBackedStr">PyBackedStr</a> as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-136" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/pybacked.rs.html#133">Source</a><a href="#associatedtype.Error-136" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-%26PyErr" class="impl"><a class="src rightside" href="../../src/pyo3/err/mod.rs.html#847-856">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-%26PyErr" class="anchor">§</a><h3 class="code-header">impl&lt;'py&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; for &amp;<a class="struct" href="../struct.PyErr.html" title="struct pyo3::PyErr">PyErr</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Target-137" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/err/mod.rs.html#848">Source</a><a href="#associatedtype.Target-137" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../exceptions/struct.PyBaseException.html" title="struct pyo3::exceptions::PyBaseException">PyBaseException</a></h4></section><section id="associatedtype.Output-137" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/err/mod.rs.html#849">Source</a><a href="#associatedtype.Output-137" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;&amp;<a class="struct" href="../struct.PyErr.html" title="struct pyo3::PyErr">PyErr</a> as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-137" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/err/mod.rs.html#850">Source</a><a href="#associatedtype.Error-137" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-%26PySliceIndices" class="impl"><a class="src rightside" href="../../src/pyo3/types/slice.rs.html#156-164">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-%26PySliceIndices" class="anchor">§</a><h3 class="code-header">impl&lt;'py&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; for &amp;<a class="struct" href="../types/struct.PySliceIndices.html" title="struct pyo3::types::PySliceIndices">PySliceIndices</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Target-138" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/types/slice.rs.html#157">Source</a><a href="#associatedtype.Target-138" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PySlice.html" title="struct pyo3::types::PySlice">PySlice</a></h4></section><section id="associatedtype.Output-138" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/types/slice.rs.html#158">Source</a><a href="#associatedtype.Output-138" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;&amp;<a class="struct" href="../types/struct.PySliceIndices.html" title="struct pyo3::types::PySliceIndices">PySliceIndices</a> as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-138" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/types/slice.rs.html#159">Source</a><a href="#associatedtype.Error-138" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-PyBackedBytes" class="impl"><a class="src rightside" href="../../src/pyo3/pybacked.rs.html#262-273">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-PyBackedBytes" class="anchor">§</a><h3 class="code-header">impl&lt;'py&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; for <a class="struct" href="../pybacked/struct.PyBackedBytes.html" title="struct pyo3::pybacked::PyBackedBytes">PyBackedBytes</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Target-139" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/pybacked.rs.html#263">Source</a><a href="#associatedtype.Target-139" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyBytes.html" title="struct pyo3::types::PyBytes">PyBytes</a></h4></section><section id="associatedtype.Output-139" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/pybacked.rs.html#264">Source</a><a href="#associatedtype.Output-139" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;<a class="struct" href="../pybacked/struct.PyBackedBytes.html" title="struct pyo3::pybacked::PyBackedBytes">PyBackedBytes</a> as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-139" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/pybacked.rs.html#265">Source</a><a href="#associatedtype.Error-139" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-PyBackedStr" class="impl"><a class="src rightside" href="../../src/pyo3/pybacked.rs.html#114-128">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-PyBackedStr" class="anchor">§</a><h3 class="code-header">impl&lt;'py&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; for <a class="struct" href="../pybacked/struct.PyBackedStr.html" title="struct pyo3::pybacked::PyBackedStr">PyBackedStr</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Target-140" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/pybacked.rs.html#115">Source</a><a href="#associatedtype.Target-140" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PyAny.html" title="struct pyo3::types::PyAny">PyAny</a></h4></section><section id="associatedtype.Output-140" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/pybacked.rs.html#116">Source</a><a href="#associatedtype.Output-140" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;<a class="struct" href="../pybacked/struct.PyBackedStr.html" title="struct pyo3::pybacked::PyBackedStr">PyBackedStr</a> as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-140" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/pybacked.rs.html#117">Source</a><a href="#associatedtype.Error-140" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-PyErr" class="impl"><a class="src rightside" href="../../src/pyo3/err/mod.rs.html#836-845">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-PyErr" class="anchor">§</a><h3 class="code-header">impl&lt;'py&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; for <a class="struct" href="../struct.PyErr.html" title="struct pyo3::PyErr">PyErr</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Target-141" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/err/mod.rs.html#837">Source</a><a href="#associatedtype.Target-141" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../exceptions/struct.PyBaseException.html" title="struct pyo3::exceptions::PyBaseException">PyBaseException</a></h4></section><section id="associatedtype.Output-141" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/err/mod.rs.html#838">Source</a><a href="#associatedtype.Output-141" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;<a class="struct" href="../struct.PyErr.html" title="struct pyo3::PyErr">PyErr</a> as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-141" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/err/mod.rs.html#839">Source</a><a href="#associatedtype.Error-141" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-PySliceIndices" class="impl"><a class="src rightside" href="../../src/pyo3/types/slice.rs.html#146-154">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-PySliceIndices" class="anchor">§</a><h3 class="code-header">impl&lt;'py&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; for <a class="struct" href="../types/struct.PySliceIndices.html" title="struct pyo3::types::PySliceIndices">PySliceIndices</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Target-142" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/types/slice.rs.html#147">Source</a><a href="#associatedtype.Target-142" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../types/struct.PySlice.html" title="struct pyo3::types::PySlice">PySlice</a></h4></section><section id="associatedtype.Output-142" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/types/slice.rs.html#148">Source</a><a href="#associatedtype.Output-142" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;<a class="struct" href="../types/struct.PySliceIndices.html" title="struct pyo3::types::PySliceIndices">PySliceIndices</a> as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-142" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/types/slice.rs.html#149">Source</a><a href="#associatedtype.Error-142" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-Bound%3C'py,+T%3E" class="impl"><a class="src rightside" href="../../src/pyo3/conversion.rs.html#281-289">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-Bound%3C'py,+T%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'py, T&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; for <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, T&gt;</h3></section></summary><div class="impl-items"><section id="associatedtype.Target-143" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversion.rs.html#282">Source</a><a href="#associatedtype.Target-143" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = T</h4></section><section id="associatedtype.Output-143" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversion.rs.html#283">Source</a><a href="#associatedtype.Output-143" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;<a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, T&gt; as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-143" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversion.rs.html#284">Source</a><a href="#associatedtype.Error-143" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-Py%3CT%3E" class="impl"><a class="src rightside" href="../../src/pyo3/conversion.rs.html#321-329">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-Py%3CT%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'py, T&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; for <a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a>&lt;T&gt;</h3></section></summary><div class="impl-items"><section id="associatedtype.Target-144" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversion.rs.html#322">Source</a><a href="#associatedtype.Target-144" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = T</h4></section><section id="associatedtype.Output-144" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversion.rs.html#323">Source</a><a href="#associatedtype.Output-144" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, &lt;<a class="struct" href="../struct.Py.html" title="struct pyo3::Py">Py</a>&lt;T&gt; as <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt;&gt;::<a class="associatedtype" href="trait.IntoPyObject.html#associatedtype.Target" title="type pyo3::conversion::IntoPyObject::Target">Target</a>&gt;</h4></section><section id="associatedtype.Error-144" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/conversion.rs.html#324">Source</a><a href="#associatedtype.Error-144" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-PyRef%3C'py,+T%3E" class="impl"><a class="src rightside" href="../../src/pyo3/pycell.rs.html#466-474">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-PyRef%3C'py,+T%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'py, T: <a class="trait" href="../pyclass/trait.PyClass.html" title="trait pyo3::pyclass::PyClass">PyClass</a>&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; for <a class="struct" href="../pycell/struct.PyRef.html" title="struct pyo3::pycell::PyRef">PyRef</a>&lt;'py, T&gt;</h3></section></summary><div class="impl-items"><section id="associatedtype.Target-145" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/pycell.rs.html#467">Source</a><a href="#associatedtype.Target-145" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = T</h4></section><section id="associatedtype.Output-145" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/pycell.rs.html#468">Source</a><a href="#associatedtype.Output-145" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, T&gt;</h4></section><section id="associatedtype.Error-145" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/pycell.rs.html#469">Source</a><a href="#associatedtype.Error-145" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoPyObject%3C'py%3E-for-PyRefMut%3C'py,+T%3E" class="impl"><a class="src rightside" href="../../src/pyo3/pycell.rs.html#657-665">Source</a><a href="#impl-IntoPyObject%3C'py%3E-for-PyRefMut%3C'py,+T%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'py, T: <a class="trait" href="../pyclass/trait.PyClass.html" title="trait pyo3::pyclass::PyClass">PyClass</a>&lt;Frozen = False&gt;&gt; <a class="trait" href="trait.IntoPyObject.html" title="trait pyo3::conversion::IntoPyObject">IntoPyObject</a>&lt;'py&gt; for <a class="struct" href="../pycell/struct.PyRefMut.html" title="struct pyo3::pycell::PyRefMut">PyRefMut</a>&lt;'py, T&gt;</h3></section></summary><div class="impl-items"><section id="associatedtype.Target-146" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/pycell.rs.html#658">Source</a><a href="#associatedtype.Target-146" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Target" class="associatedtype">Target</a> = T</h4></section><section id="associatedtype.Output-146" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/pycell.rs.html#659">Source</a><a href="#associatedtype.Output-146" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="../struct.Bound.html" title="struct pyo3::Bound">Bound</a>&lt;'py, T&gt;</h4></section><section id="associatedtype.Error-146" class="associatedtype trait-impl"><a class="src rightside" href="../../src/pyo3/pycell.rs.html#660">Source</a><a href="#associatedtype.Error-146" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.85.1/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section></div></details></div><script src="../../trait.impl/pyo3/conversion/trait.IntoPyObject.js" data-ignore-extern-crates="std,core,alloc" async></script></section></div></main></body></html>