[−][src]Trait pyo3::prelude::IntoPy
Similar to std::convert::Into, just that it requires a gil token.
Required methods
Loading content...Implementations on Foreign Types
impl<T> IntoPy<PyObject> for Option<T> where
T: IntoPy<PyObject>,
[src]
T: IntoPy<PyObject>,
impl<K, V, H> IntoPy<PyObject> for HashMap<K, V, H> where
K: Hash + Eq + IntoPy<PyObject>,
V: IntoPy<PyObject>,
H: BuildHasher,
[src]
K: Hash + Eq + IntoPy<PyObject>,
V: IntoPy<PyObject>,
H: BuildHasher,
impl<K, V> IntoPy<PyObject> for BTreeMap<K, V> where
K: Eq + IntoPy<PyObject>,
V: IntoPy<PyObject>,
[src]
K: Eq + IntoPy<PyObject>,
V: IntoPy<PyObject>,
impl<T> IntoPy<PyObject> for Vec<T> where
T: IntoPy<PyObject>,
[src]
T: IntoPy<PyObject>,
impl IntoPy<PyObject> for i8
[src]
impl IntoPy<PyObject> for u8
[src]
impl IntoPy<PyObject> for i16
[src]
impl IntoPy<PyObject> for u16
[src]
impl IntoPy<PyObject> for i32
[src]
impl IntoPy<PyObject> for u32
[src]
impl IntoPy<PyObject> for i64
[src]
impl IntoPy<PyObject> for isize
[src]
impl IntoPy<PyObject> for usize
[src]
impl IntoPy<PyObject> for u64
[src]
impl IntoPy<PyObject> for i128
[src]
impl IntoPy<PyObject> for u128
[src]
impl<'a> IntoPy<PyObject> for &'a str
[src]
impl<'a> IntoPy<PyObject> for &'a String
[src]
impl<A: IntoPy<PyObject>> IntoPy<PyObject> for (A,)
[src]
impl<A: IntoPy<PyObject>> IntoPy<Py<PyTuple>> for (A,)
[src]
impl<A: IntoPy<PyObject>, B: IntoPy<PyObject>> IntoPy<PyObject> for (A, B)
[src]
impl<A: IntoPy<PyObject>, B: IntoPy<PyObject>> IntoPy<Py<PyTuple>> for (A, B)
[src]
impl<A: IntoPy<PyObject>, B: IntoPy<PyObject>, C: IntoPy<PyObject>> IntoPy<PyObject> for (A, B, C)
[src]
impl<A: IntoPy<PyObject>, B: IntoPy<PyObject>, C: IntoPy<PyObject>> IntoPy<Py<PyTuple>> for (A, B, C)
[src]
impl<A: IntoPy<PyObject>, B: IntoPy<PyObject>, C: IntoPy<PyObject>, D: IntoPy<PyObject>> IntoPy<PyObject> for (A, B, C, D)
[src]
impl<A: IntoPy<PyObject>, B: IntoPy<PyObject>, C: IntoPy<PyObject>, D: IntoPy<PyObject>> IntoPy<Py<PyTuple>> for (A, B, C, D)
[src]
impl<A: IntoPy<PyObject>, B: IntoPy<PyObject>, C: IntoPy<PyObject>, D: IntoPy<PyObject>, E: IntoPy<PyObject>> IntoPy<PyObject> for (A, B, C, D, E)
[src]
impl<A: IntoPy<PyObject>, B: IntoPy<PyObject>, C: IntoPy<PyObject>, D: IntoPy<PyObject>, E: IntoPy<PyObject>> IntoPy<Py<PyTuple>> for (A, B, C, D, E)
[src]
impl<A: IntoPy<PyObject>, B: IntoPy<PyObject>, C: IntoPy<PyObject>, D: IntoPy<PyObject>, E: IntoPy<PyObject>, F: IntoPy<PyObject>> IntoPy<PyObject> for (A, B, C, D, E, F)
[src]
impl<A: IntoPy<PyObject>, B: IntoPy<PyObject>, C: IntoPy<PyObject>, D: IntoPy<PyObject>, E: IntoPy<PyObject>, F: IntoPy<PyObject>> IntoPy<Py<PyTuple>> for (A, B, C, D, E, F)
[src]
impl<A: IntoPy<PyObject>, B: IntoPy<PyObject>, C: IntoPy<PyObject>, D: IntoPy<PyObject>, E: IntoPy<PyObject>, F: IntoPy<PyObject>, G: IntoPy<PyObject>> IntoPy<PyObject> for (A, B, C, D, E, F, G)
[src]
impl<A: IntoPy<PyObject>, B: IntoPy<PyObject>, C: IntoPy<PyObject>, D: IntoPy<PyObject>, E: IntoPy<PyObject>, F: IntoPy<PyObject>, G: IntoPy<PyObject>> IntoPy<Py<PyTuple>> for (A, B, C, D, E, F, G)
[src]
impl<A: IntoPy<PyObject>, B: IntoPy<PyObject>, C: IntoPy<PyObject>, D: IntoPy<PyObject>, E: IntoPy<PyObject>, F: IntoPy<PyObject>, G: IntoPy<PyObject>, H: IntoPy<PyObject>> IntoPy<PyObject> for (A, B, C, D, E, F, G, H)
[src]
impl<A: IntoPy<PyObject>, B: IntoPy<PyObject>, C: IntoPy<PyObject>, D: IntoPy<PyObject>, E: IntoPy<PyObject>, F: IntoPy<PyObject>, G: IntoPy<PyObject>, H: IntoPy<PyObject>> IntoPy<Py<PyTuple>> for (A, B, C, D, E, F, G, H)
[src]
impl<A: IntoPy<PyObject>, B: IntoPy<PyObject>, C: IntoPy<PyObject>, D: IntoPy<PyObject>, E: IntoPy<PyObject>, F: IntoPy<PyObject>, G: IntoPy<PyObject>, H: IntoPy<PyObject>, I: IntoPy<PyObject>> IntoPy<PyObject> for (A, B, C, D, E, F, G, H, I)
[src]
impl<A: IntoPy<PyObject>, B: IntoPy<PyObject>, C: IntoPy<PyObject>, D: IntoPy<PyObject>, E: IntoPy<PyObject>, F: IntoPy<PyObject>, G: IntoPy<PyObject>, H: IntoPy<PyObject>, I: IntoPy<PyObject>> IntoPy<Py<PyTuple>> for (A, B, C, D, E, F, G, H, I)
[src]
Loading content...
Implementors
impl<'a> IntoPy<PyObject> for &'a PyErr
[src]
impl<'a, T: PyTypeInfo> IntoPy<PyObject> for PyRef<'a, T>
[src]
impl<'a, T: PyTypeInfo> IntoPy<PyObject> for PyRefMut<'a, T>
[src]
impl<T> IntoPy<PyObject> for Py<T>
[src]
fn into_py(self, py: Python) -> PyObject
[src]
Converts Py
instance -> PyObject.
Consumes self
without calling Py_DECREF()
impl<T, U> IntoPy<U> for T where
U: FromPy<T>,
[src]
U: FromPy<T>,