Skip to main content

from_python

Function from_python 

Source
pub fn from_python<T: FromPython>(obj: Py<PyAny>) -> PyResult<T>
Expand description

Helper function to convert Python object to Rust value