pub trait CLReprPython: Sized {
// Required methods
fn from_python_ref(v: &PyAny) -> Result<Self, PyErr>;
fn into_py_impl(from: CLRepr, py: Python<'_>) -> Result<PyObject, PyErr>;
fn into_py(self, py: Python<'_>) -> Result<PyObject, PyErr>;
}Required Methods§
fn from_python_ref(v: &PyAny) -> Result<Self, PyErr>
fn into_py_impl(from: CLRepr, py: Python<'_>) -> Result<PyObject, PyErr>
fn into_py(self, py: Python<'_>) -> Result<PyObject, PyErr>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.