IntoPyObjectBox

Trait IntoPyObjectBox 

Source
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§

Source

fn into_py_object(self: Box<Self>, py: Python<'_>) -> PyResult<Py<PyAny>>

Implementors§

Source§

impl<T> IntoPyObjectBox for T
where T: for<'py> IntoPyObject<'py> + Send,