Trait querent_synapse::cross::CLReprPython
source · 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>
Object Safety§
This trait is not object safe.