[][src]Trait cpython::PythonObjectWithTypeObject

pub trait PythonObjectWithTypeObject: PythonObjectWithCheckedDowncast {
    pub fn type_object(py: Python<'_>) -> PyType;
}

Trait implemented by Python object types that have a corresponding type object.

Required methods

pub fn type_object(py: Python<'_>) -> PyType[src]

Retrieves the type object for this Python object type.

Loading content...

Implementors

impl PythonObjectWithTypeObject for AssertionError[src]

impl PythonObjectWithTypeObject for AttributeError[src]

impl PythonObjectWithTypeObject for BaseException[src]

impl PythonObjectWithTypeObject for BlockingIOError[src]

impl PythonObjectWithTypeObject for BrokenPipeError[src]

impl PythonObjectWithTypeObject for BufferError[src]

impl PythonObjectWithTypeObject for ChildProcessError[src]

impl PythonObjectWithTypeObject for ConnectionAbortedError[src]

impl PythonObjectWithTypeObject for ConnectionError[src]

impl PythonObjectWithTypeObject for ConnectionRefusedError[src]

impl PythonObjectWithTypeObject for ConnectionResetError[src]

impl PythonObjectWithTypeObject for EOFError[src]

impl PythonObjectWithTypeObject for EnvironmentError[src]

impl PythonObjectWithTypeObject for Exception[src]

impl PythonObjectWithTypeObject for FileExistsError[src]

impl PythonObjectWithTypeObject for FileNotFoundError[src]

impl PythonObjectWithTypeObject for FloatingPointError[src]

impl PythonObjectWithTypeObject for IOError[src]

impl PythonObjectWithTypeObject for ImportError[src]

impl PythonObjectWithTypeObject for IndexError[src]

impl PythonObjectWithTypeObject for InterruptedError[src]

impl PythonObjectWithTypeObject for IsADirectoryError[src]

impl PythonObjectWithTypeObject for KeyError[src]

impl PythonObjectWithTypeObject for KeyboardInterrupt[src]

impl PythonObjectWithTypeObject for LookupError[src]

impl PythonObjectWithTypeObject for MemoryError[src]

impl PythonObjectWithTypeObject for NameError[src]

impl PythonObjectWithTypeObject for NotADirectoryError[src]

impl PythonObjectWithTypeObject for NotImplementedError[src]

impl PythonObjectWithTypeObject for OSError[src]

impl PythonObjectWithTypeObject for OverflowError[src]

impl PythonObjectWithTypeObject for PermissionError[src]

impl PythonObjectWithTypeObject for ProcessLookupError[src]

impl PythonObjectWithTypeObject for ReferenceError[src]

impl PythonObjectWithTypeObject for RuntimeError[src]

impl PythonObjectWithTypeObject for SyntaxError[src]

impl PythonObjectWithTypeObject for SystemError[src]

impl PythonObjectWithTypeObject for SystemExit[src]

impl PythonObjectWithTypeObject for TimeoutError[src]

impl PythonObjectWithTypeObject for TypeError[src]

impl PythonObjectWithTypeObject for UnicodeDecodeError[src]

impl PythonObjectWithTypeObject for UnicodeEncodeError[src]

impl PythonObjectWithTypeObject for UnicodeTranslateError[src]

impl PythonObjectWithTypeObject for ValueError[src]

impl PythonObjectWithTypeObject for ZeroDivisionError[src]

impl PythonObjectWithTypeObject for PyBool[src]

impl PythonObjectWithTypeObject for PyBytes[src]

impl PythonObjectWithTypeObject for PyCapsule[src]

impl PythonObjectWithTypeObject for PyDict[src]

impl PythonObjectWithTypeObject for PyFloat[src]

impl PythonObjectWithTypeObject for PyLong[src]

impl PythonObjectWithTypeObject for PyList[src]

impl PythonObjectWithTypeObject for PyModule[src]

impl PythonObjectWithTypeObject for PyObject[src]

impl PythonObjectWithTypeObject for PySet[src]

impl PythonObjectWithTypeObject for PyTuple[src]

impl PythonObjectWithTypeObject for PyType[src]

impl PythonObjectWithTypeObject for PyString[src]

Loading content...