Trait pyo3::type_object::PyLayout[][src]

pub unsafe trait PyLayout<T> { }
Expand description

T: PyLayout<U> represents that T is a concrete representation of U in the Python heap. E.g., PyCell is a concrete representaion of all pyclasses, and ffi::PyObject is of PyAny.

This trait is intended to be used internally.

Implementors