Trait pyo3::types::dict::PyDictItem
source · pub trait PyDictItem {
type K: ToPyObject;
type V: ToPyObject;
// Required methods
fn key(&self) -> &Self::K;
fn value(&self) -> &Self::V;
}
Expand description
Represents a tuple which can be used as a PyDict item.