[−][src]Trait pyo3::types::IntoPyDict
Conversion trait that allows a sequence of tuples to be converted into PyDict
Primary use case for this trait is call
and call_method
methods as keywords argument.
Required Methods
fn into_py_dict(self, py: Python) -> &PyDict
Converts self into a PyDict
object pointer. Whether pointer owned or borrowed
depends on implementation.
Implementors
impl<K, V, I> IntoPyDict for I where
K: ToPyObject,
V: ToPyObject,
I: IntoIterator<Item = (K, V)>,
[src]
impl<K, V, I> IntoPyDict for I where
K: ToPyObject,
V: ToPyObject,
I: IntoIterator<Item = (K, V)>,
fn into_py_dict(self, py: Python) -> &PyDict
[src]
fn into_py_dict(self, py: Python) -> &PyDict