Trait pyo3::IntoPyDictPointer [−][src]
pub trait IntoPyDictPointer {
fn into_dict_ptr(self, py: Python) -> *mut PyObject;
}Conversion trait that allows various objects to be converted into PyDict object pointer.
Primary use case for this trait is call and call_method methods as keywords argument.
Required Methods
fn into_dict_ptr(self, py: Python) -> *mut PyObject
Converts self into a PyDict object pointer. Whether pointer owned or borrowed
depends on implementation.
Implementations on Foreign Types
impl<K, V, H> IntoPyDictPointer for HashMap<K, V, H> where
K: Hash + Eq + ToPyObject,
V: ToPyObject,
H: BuildHasher, [src]
impl<K, V, H> IntoPyDictPointer for HashMap<K, V, H> where
K: Hash + Eq + ToPyObject,
V: ToPyObject,
H: BuildHasher, fn into_dict_ptr(self, py: Python) -> *mut PyObject[src]
fn into_dict_ptr(self, py: Python) -> *mut PyObjectimpl<K, V> IntoPyDictPointer for BTreeMap<K, V> where
K: Eq + ToPyObject,
V: ToPyObject, [src]
impl<K, V> IntoPyDictPointer for BTreeMap<K, V> where
K: Eq + ToPyObject,
V: ToPyObject, fn into_dict_ptr(self, py: Python) -> *mut PyObject[src]
fn into_dict_ptr(self, py: Python) -> *mut PyObjectimpl<K: ToPyObject, V: ToPyObject> IntoPyDictPointer for (K, V)[src]
impl<K: ToPyObject, V: ToPyObject> IntoPyDictPointer for (K, V)fn into_dict_ptr(self, py: Python) -> *mut PyObject[src]
fn into_dict_ptr(self, py: Python) -> *mut PyObjectimpl<A1: ToPyObject, A2: ToPyObject> IntoPyDictPointer for ((A1, A2),)[src]
impl<A1: ToPyObject, A2: ToPyObject> IntoPyDictPointer for ((A1, A2),)fn into_dict_ptr(self, py: Python) -> *mut PyObject[src]
fn into_dict_ptr(self, py: Python) -> *mut PyObjectimpl<A1: ToPyObject, A2: ToPyObject, B1: ToPyObject, B2: ToPyObject> IntoPyDictPointer for ((A1, A2), (B1, B2))[src]
impl<A1: ToPyObject, A2: ToPyObject, B1: ToPyObject, B2: ToPyObject> IntoPyDictPointer for ((A1, A2), (B1, B2))fn into_dict_ptr(self, py: Python) -> *mut PyObject[src]
fn into_dict_ptr(self, py: Python) -> *mut PyObjectimpl<A1: ToPyObject, A2: ToPyObject, B1: ToPyObject, B2: ToPyObject, C1: ToPyObject, C2: ToPyObject> IntoPyDictPointer for ((A1, A2), (B1, B2), (C1, C2))[src]
impl<A1: ToPyObject, A2: ToPyObject, B1: ToPyObject, B2: ToPyObject, C1: ToPyObject, C2: ToPyObject> IntoPyDictPointer for ((A1, A2), (B1, B2), (C1, C2))fn into_dict_ptr(self, py: Python) -> *mut PyObject[src]
fn into_dict_ptr(self, py: Python) -> *mut PyObjectimpl<A1: ToPyObject, A2: ToPyObject, B1: ToPyObject, B2: ToPyObject, C1: ToPyObject, C2: ToPyObject, D1: ToPyObject, D2: ToPyObject> IntoPyDictPointer for ((A1, A2), (B1, B2), (C1, C2), (D1, D2))[src]
impl<A1: ToPyObject, A2: ToPyObject, B1: ToPyObject, B2: ToPyObject, C1: ToPyObject, C2: ToPyObject, D1: ToPyObject, D2: ToPyObject> IntoPyDictPointer for ((A1, A2), (B1, B2), (C1, C2), (D1, D2))fn into_dict_ptr(self, py: Python) -> *mut PyObject[src]
fn into_dict_ptr(self, py: Python) -> *mut PyObjectimpl<A1: ToPyObject, A2: ToPyObject, B1: ToPyObject, B2: ToPyObject, C1: ToPyObject, C2: ToPyObject, D1: ToPyObject, D2: ToPyObject, E1: ToPyObject, E2: ToPyObject> IntoPyDictPointer for ((A1, A2), (B1, B2), (C1, C2), (D1, D2), (E1, E2))[src]
impl<A1: ToPyObject, A2: ToPyObject, B1: ToPyObject, B2: ToPyObject, C1: ToPyObject, C2: ToPyObject, D1: ToPyObject, D2: ToPyObject, E1: ToPyObject, E2: ToPyObject> IntoPyDictPointer for ((A1, A2), (B1, B2), (C1, C2), (D1, D2), (E1, E2))fn into_dict_ptr(self, py: Python) -> *mut PyObject[src]
fn into_dict_ptr(self, py: Python) -> *mut PyObjectimpl<A1: ToPyObject, A2: ToPyObject, B1: ToPyObject, B2: ToPyObject, C1: ToPyObject, C2: ToPyObject, D1: ToPyObject, D2: ToPyObject, E1: ToPyObject, E2: ToPyObject, F1: ToPyObject, F2: ToPyObject> IntoPyDictPointer for ((A1, A2), (B1, B2), (C1, C2), (D1, D2), (E1, E2), (F1, F2))[src]
impl<A1: ToPyObject, A2: ToPyObject, B1: ToPyObject, B2: ToPyObject, C1: ToPyObject, C2: ToPyObject, D1: ToPyObject, D2: ToPyObject, E1: ToPyObject, E2: ToPyObject, F1: ToPyObject, F2: ToPyObject> IntoPyDictPointer for ((A1, A2), (B1, B2), (C1, C2), (D1, D2), (E1, E2), (F1, F2))fn into_dict_ptr(self, py: Python) -> *mut PyObject[src]
fn into_dict_ptr(self, py: Python) -> *mut PyObjectimpl<A1: ToPyObject, A2: ToPyObject, B1: ToPyObject, B2: ToPyObject, C1: ToPyObject, C2: ToPyObject, D1: ToPyObject, D2: ToPyObject, E1: ToPyObject, E2: ToPyObject, F1: ToPyObject, F2: ToPyObject, G1: ToPyObject, G2: ToPyObject> IntoPyDictPointer for ((A1, A2), (B1, B2), (C1, C2), (D1, D2), (E1, E2), (F1, F2), (G1, G2))[src]
impl<A1: ToPyObject, A2: ToPyObject, B1: ToPyObject, B2: ToPyObject, C1: ToPyObject, C2: ToPyObject, D1: ToPyObject, D2: ToPyObject, E1: ToPyObject, E2: ToPyObject, F1: ToPyObject, F2: ToPyObject, G1: ToPyObject, G2: ToPyObject> IntoPyDictPointer for ((A1, A2), (B1, B2), (C1, C2), (D1, D2), (E1, E2), (F1, F2), (G1, G2))fn into_dict_ptr(self, py: Python) -> *mut PyObject[src]
fn into_dict_ptr(self, py: Python) -> *mut PyObjectimpl<A1: ToPyObject, A2: ToPyObject, B1: ToPyObject, B2: ToPyObject, C1: ToPyObject, C2: ToPyObject, D1: ToPyObject, D2: ToPyObject, E1: ToPyObject, E2: ToPyObject, F1: ToPyObject, F2: ToPyObject, G1: ToPyObject, G2: ToPyObject, H1: ToPyObject, H2: ToPyObject> IntoPyDictPointer for ((A1, A2), (B1, B2), (C1, C2), (D1, D2), (E1, E2), (F1, F2), (G1, G2), (H1, H2))[src]
impl<A1: ToPyObject, A2: ToPyObject, B1: ToPyObject, B2: ToPyObject, C1: ToPyObject, C2: ToPyObject, D1: ToPyObject, D2: ToPyObject, E1: ToPyObject, E2: ToPyObject, F1: ToPyObject, F2: ToPyObject, G1: ToPyObject, G2: ToPyObject, H1: ToPyObject, H2: ToPyObject> IntoPyDictPointer for ((A1, A2), (B1, B2), (C1, C2), (D1, D2), (E1, E2), (F1, F2), (G1, G2), (H1, H2))fn into_dict_ptr(self, py: Python) -> *mut PyObject[src]
fn into_dict_ptr(self, py: Python) -> *mut PyObjectimpl<A1: ToPyObject, A2: ToPyObject, B1: ToPyObject, B2: ToPyObject, C1: ToPyObject, C2: ToPyObject, D1: ToPyObject, D2: ToPyObject, E1: ToPyObject, E2: ToPyObject, F1: ToPyObject, F2: ToPyObject, G1: ToPyObject, G2: ToPyObject, H1: ToPyObject, H2: ToPyObject, I1: ToPyObject, I2: ToPyObject> IntoPyDictPointer for ((A1, A2), (B1, B2), (C1, C2), (D1, D2), (E1, E2), (F1, F2), (G1, G2), (H1, H2), (I1, I2))[src]
impl<A1: ToPyObject, A2: ToPyObject, B1: ToPyObject, B2: ToPyObject, C1: ToPyObject, C2: ToPyObject, D1: ToPyObject, D2: ToPyObject, E1: ToPyObject, E2: ToPyObject, F1: ToPyObject, F2: ToPyObject, G1: ToPyObject, G2: ToPyObject, H1: ToPyObject, H2: ToPyObject, I1: ToPyObject, I2: ToPyObject> IntoPyDictPointer for ((A1, A2), (B1, B2), (C1, C2), (D1, D2), (E1, E2), (F1, F2), (G1, G2), (H1, H2), (I1, I2))fn into_dict_ptr(self, py: Python) -> *mut PyObject[src]
fn into_dict_ptr(self, py: Python) -> *mut PyObjectimpl IntoPyDictPointer for ()[src]
impl IntoPyDictPointer for ()Converts () to an null pointer.
fn into_dict_ptr(self, _: Python) -> *mut PyObject[src]
fn into_dict_ptr(self, _: Python) -> *mut PyObject