Function pythonize::depythonize_bound
source · pub fn depythonize_bound<'py, T>(obj: Bound<'py, PyAny>) -> Result<T>where
T: for<'a> Deserialize<'a>,
Expand description
Attempt to convert a Python object to an instance of T
pub fn depythonize_bound<'py, T>(obj: Bound<'py, PyAny>) -> Result<T>where
T: for<'a> Deserialize<'a>,
Attempt to convert a Python object to an instance of T