trait PyDictItem<'py> {
type K: IntoPyObject<'py>;
type V: IntoPyObject<'py>;
// Required method
fn unpack(self) -> (Self::K, Self::V);
}Expand description
Represents a tuple which can be used as a PyDict item.
Required Associated Types§
type K: IntoPyObject<'py>
type V: IntoPyObject<'py>
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".