Trait rigetti_pyo3::PyTryFrom
source · pub trait PyTryFrom<P>: Sized {
// Required method
fn py_try_from(py: Python<'_>, item: &P) -> PyResult<Self>;
}Expand description
Convert from a Python type to a Rust type.
Required Methods§
Object Safety§
This trait is not object safe.