Closed
Description
We should add a table to the documentation that explains with trait and method to use to convert one wrapper type to another. This is complementary to #374.
For example you use ToPyObject::to_object
to convert &PySomeNativeType
to PyObject
and there's AsPyRef
to convert PyObject
and Py<T>
to PyRef<T>
s.