You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But I think this is not enough and it would be better to just generate the implementation of FromPyObj and IntoPy traits as from_py_with seems to be useable only in function signature and not in structure definitions.
Recursive shapes are
Boxed
in Rust and pyo3 does not implementFromPyObj
andIntoPy
forBox<T>
.This can be solved by implementing these 2 traits for
Box<T>
andOption<Box<T>
whereT
is not any concrete type.More info PyO3/pyo3#2090
The text was updated successfully, but these errors were encountered: