pub trait PythonizeDictType {
    // Required method
    fn create_mapping(py: Python<'_>) -> PyResult<Bound<'_, PyMapping>>;
}
Expand description

Trait for types which can represent a Python mapping

Required Methods§

source

fn create_mapping(py: Python<'_>) -> PyResult<Bound<'_, PyMapping>>

Constructor

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl PythonizeDictType for PyDict

Implementors§