pub trait IntoPyObjectBox: Send {
// Required method
fn into_py_object(self: Box<Self>, py: Python<'_>) -> PyResult<Py<PyAny>>;
}Expand description
A blanket trait used to convert boxed objects into python objects.
Required Methods§
fn into_py_object(self: Box<Self>, py: Python<'_>) -> PyResult<Py<PyAny>>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".