Skip to content

Add Table with conversions between wrapper types #376

Closed
@konstin

Description

@konstin

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions