pyo3::type_object

Trait PyLayout

Source
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., PyClassObject is a concrete representation of all pyclasses, and ffi::PyObject is of PyAny.

This trait is intended to be used internally.

§Safety

This trait must only be implemented for types which represent valid layouts of Python objects.

Implementors§

Source§

impl PyLayout<PyArithmeticError> for PyBaseExceptionObject

Source§

impl PyLayout<PyAssertionError> for PyBaseExceptionObject

Source§

impl PyLayout<PyAttributeError> for PyBaseExceptionObject

Source§

impl PyLayout<PyBaseException> for PyBaseExceptionObject

Source§

impl PyLayout<PyBlockingIOError> for PyBaseExceptionObject

Source§

impl PyLayout<PyBrokenPipeError> for PyBaseExceptionObject

Source§

impl PyLayout<PyBufferError> for PyBaseExceptionObject

Source§

impl PyLayout<PyBytesWarning> for PyBaseExceptionObject

Source§

impl PyLayout<PyChildProcessError> for PyBaseExceptionObject

Source§

impl PyLayout<PyConnectionAbortedError> for PyBaseExceptionObject

Source§

impl PyLayout<PyConnectionError> for PyBaseExceptionObject

Source§

impl PyLayout<PyConnectionRefusedError> for PyBaseExceptionObject

Source§

impl PyLayout<PyConnectionResetError> for PyBaseExceptionObject

Source§

impl PyLayout<PyDeprecationWarning> for PyBaseExceptionObject

Source§

impl PyLayout<PyEOFError> for PyBaseExceptionObject

Source§

impl PyLayout<PyEnvironmentError> for PyBaseExceptionObject

Source§

impl PyLayout<PyException> for PyBaseExceptionObject

Source§

impl PyLayout<PyFileExistsError> for PyBaseExceptionObject

Source§

impl PyLayout<PyFileNotFoundError> for PyBaseExceptionObject

Source§

impl PyLayout<PyFloatingPointError> for PyBaseExceptionObject

Source§

impl PyLayout<PyFutureWarning> for PyBaseExceptionObject

Source§

impl PyLayout<PyGeneratorExit> for PyBaseExceptionObject

Source§

impl PyLayout<PyIOError> for PyBaseExceptionObject

Source§

impl PyLayout<PyImportError> for PyBaseExceptionObject

Source§

impl PyLayout<PyImportWarning> for PyBaseExceptionObject

Source§

impl PyLayout<PyIndexError> for PyBaseExceptionObject

Source§

impl PyLayout<PyInterruptedError> for PyBaseExceptionObject

Source§

impl PyLayout<PyIsADirectoryError> for PyBaseExceptionObject

Source§

impl PyLayout<PyKeyError> for PyBaseExceptionObject

Source§

impl PyLayout<PyKeyboardInterrupt> for PyBaseExceptionObject

Source§

impl PyLayout<PyLookupError> for PyBaseExceptionObject

Source§

impl PyLayout<PyMemoryError> for PyBaseExceptionObject

Source§

impl PyLayout<PyModuleNotFoundError> for PyBaseExceptionObject

Source§

impl PyLayout<PyNameError> for PyBaseExceptionObject

Source§

impl PyLayout<PyNotADirectoryError> for PyBaseExceptionObject

Source§

impl PyLayout<PyNotImplementedError> for PyBaseExceptionObject

Source§

impl PyLayout<PyOSError> for PyOSErrorObject

Source§

impl PyLayout<PyOverflowError> for PyBaseExceptionObject

Source§

impl PyLayout<PyPendingDeprecationWarning> for PyBaseExceptionObject

Source§

impl PyLayout<PyPermissionError> for PyBaseExceptionObject

Source§

impl PyLayout<PyProcessLookupError> for PyBaseExceptionObject

Source§

impl PyLayout<PyRecursionError> for PyBaseExceptionObject

Source§

impl PyLayout<PyReferenceError> for PyBaseExceptionObject

Source§

impl PyLayout<PyResourceWarning> for PyBaseExceptionObject

Source§

impl PyLayout<PyRuntimeError> for PyBaseExceptionObject

Source§

impl PyLayout<PyRuntimeWarning> for PyBaseExceptionObject

Source§

impl PyLayout<PyStopAsyncIteration> for PyBaseExceptionObject

Source§

impl PyLayout<PyStopIteration> for PyStopIterationObject

Source§

impl PyLayout<PySyntaxError> for PySyntaxErrorObject

Source§

impl PyLayout<PySyntaxWarning> for PyBaseExceptionObject

Source§

impl PyLayout<PySystemError> for PyBaseExceptionObject

Source§

impl PyLayout<PySystemExit> for PySystemExitObject

Source§

impl PyLayout<PyTimeoutError> for PyBaseExceptionObject

Source§

impl PyLayout<PyTypeError> for PyBaseExceptionObject

Source§

impl PyLayout<PyUnboundLocalError> for PyBaseExceptionObject

Source§

impl PyLayout<PyUnicodeDecodeError> for PyBaseExceptionObject

Source§

impl PyLayout<PyUnicodeEncodeError> for PyBaseExceptionObject

Source§

impl PyLayout<PyUnicodeError> for PyUnicodeErrorObject

Source§

impl PyLayout<PyUnicodeTranslateError> for PyBaseExceptionObject

Source§

impl PyLayout<PyUnicodeWarning> for PyBaseExceptionObject

Source§

impl PyLayout<PyUserWarning> for PyBaseExceptionObject

Source§

impl PyLayout<PyValueError> for PyBaseExceptionObject

Source§

impl PyLayout<PyWarning> for PyBaseExceptionObject

Source§

impl PyLayout<PyZeroDivisionError> for PyBaseExceptionObject

Source§

impl PyLayout<PyAny> for PyObject

Source§

impl PyLayout<PyBool> for PyObject

Source§

impl PyLayout<PyComplex> for PyComplexObject

Source§

impl PyLayout<PyDate> for PyDateTime_Date

Source§

impl PyLayout<PyDateTime> for PyDateTime_DateTime

Source§

impl PyLayout<PyDelta> for PyDateTime_Delta

Source§

impl PyLayout<PyDict> for PyDictObject

Source§

impl PyLayout<PyFloat> for PyFloatObject

Source§

impl PyLayout<PyFrozenSet> for PySetObject

Source§

impl PyLayout<PySet> for PySetObject

Source§

impl PyLayout<PySlice> for PySliceObject

Source§

impl PyLayout<PyTime> for PyDateTime_Time

Source§

impl PyLayout<PyTzInfo> for PyObject

Source§

impl PyLayout<PyWeakrefReference> for PyWeakReference