Trait PyClassDef

Source
pub trait PyClassDef {
    type Base: PyClassDef;

    const NAME: &'static str;
    const MODULE_NAME: Option<&'static str>;
    const TP_NAME: &'static str;
    const BASICSIZE: usize;
    const DOC: Option<&'static str> = None;
    const UNHASHABLE: bool = false;
}

Required Associated Constants§

Source

const NAME: &'static str

Source

const MODULE_NAME: Option<&'static str>

Source

const TP_NAME: &'static str

Source

const BASICSIZE: usize

Provided Associated Constants§

Source

const DOC: Option<&'static str> = None

Source

const UNHASHABLE: bool = false

Required Associated Types§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl PyClassDef for PyArithmeticError

Source§

const NAME: &'static str = "ArithmeticError"

Source§

const MODULE_NAME: Option<&'static str> = None

Source§

const TP_NAME: &'static str = "ArithmeticError"

Source§

const DOC: Option<&'static str>

Source§

const BASICSIZE: usize = 0usize

Source§

const UNHASHABLE: bool = false

Source§

type Base = PyException

Source§

impl PyClassDef for PyAssertionError

Source§

const NAME: &'static str = "AssertionError"

Source§

const MODULE_NAME: Option<&'static str> = None

Source§

const TP_NAME: &'static str = "AssertionError"

Source§

const DOC: Option<&'static str>

Source§

const BASICSIZE: usize = 0usize

Source§

const UNHASHABLE: bool = false

Source§

type Base = PyException

Source§

impl PyClassDef for PyAsyncGen

Source§

const NAME: &'static str = "async_generator"

Source§

const MODULE_NAME: Option<&'static str> = None

Source§

const TP_NAME: &'static str = "async_generator"

Source§

const DOC: Option<&'static str> = None

Source§

const BASICSIZE: usize = 56usize

Source§

const UNHASHABLE: bool = false

Source§

type Base = PyBaseObject

Source§

impl PyClassDef for PyAttributeError

Source§

const NAME: &'static str = "AttributeError"

Source§

const MODULE_NAME: Option<&'static str> = None

Source§

const TP_NAME: &'static str = "AttributeError"

Source§

const DOC: Option<&'static str>

Source§

const BASICSIZE: usize = 0usize

Source§

const UNHASHABLE: bool = false

Source§

type Base = PyException

Source§

impl PyClassDef for PyBaseException

Source§

const NAME: &'static str = "BaseException"

Source§

const MODULE_NAME: Option<&'static str> = None

Source§

const TP_NAME: &'static str = "BaseException"

Source§

const DOC: Option<&'static str>

Source§

const BASICSIZE: usize = 72usize

Source§

const UNHASHABLE: bool = false

Source§

type Base = PyBaseObject

Source§

impl PyClassDef for PyBaseExceptionGroup

Source§

const NAME: &'static str = "BaseExceptionGroup"

Source§

const MODULE_NAME: Option<&'static str> = None

Source§

const TP_NAME: &'static str = "BaseExceptionGroup"

Source§

const DOC: Option<&'static str>

Source§

const BASICSIZE: usize = 0usize

Source§

const UNHASHABLE: bool = false

Source§

type Base = PyBaseException

Source§

impl PyClassDef for PyBaseObject

Source§

const NAME: &'static str = "object"

Source§

const MODULE_NAME: Option<&'static str> = None

Source§

const TP_NAME: &'static str = "object"

Source§

const DOC: Option<&'static str>

Source§

const BASICSIZE: usize = 0usize

Source§

const UNHASHABLE: bool = false

Source§

type Base = PyBaseObject

Source§

impl PyClassDef for PyBlockingIOError

Source§

const NAME: &'static str = "BlockingIOError"

Source§

const MODULE_NAME: Option<&'static str> = None

Source§

const TP_NAME: &'static str = "BlockingIOError"

Source§

const DOC: Option<&'static str>

Source§

const BASICSIZE: usize = 0usize

Source§

const UNHASHABLE: bool = false

Source§

type Base = PyOSError

Source§

impl PyClassDef for PyBool

Source§

const NAME: &'static str = "bool"

Source§

const MODULE_NAME: Option<&'static str> = None

Source§

const TP_NAME: &'static str = "bool"

Source§

const DOC: Option<&'static str>

Source§

const BASICSIZE: usize = 0usize

Source§

const UNHASHABLE: bool = false

Source§

type Base = PyInt

Source§

impl PyClassDef for PyBoundMethod

Source§

const NAME: &'static str = "method"

Source§

const MODULE_NAME: Option<&'static str> = None

Source§

const TP_NAME: &'static str = "method"

Source§

const DOC: Option<&'static str> = None

Source§

const BASICSIZE: usize = 16usize

Source§

const UNHASHABLE: bool = false

Source§

type Base = PyBaseObject

Source§

impl PyClassDef for PyBrokenPipeError

Source§

const NAME: &'static str = "BrokenPipeError"

Source§

const MODULE_NAME: Option<&'static str> = None

Source§

const TP_NAME: &'static str = "BrokenPipeError"

Source§

const DOC: Option<&'static str>

Source§

const BASICSIZE: usize = 0usize

Source§

const UNHASHABLE: bool = false

Source§

type Base = PyConnectionError

Source§

impl PyClassDef for PyBufferError

Source§

const NAME: &'static str = "BufferError"

Source§

const MODULE_NAME: Option<&'static str> = None

Source§

const TP_NAME: &'static str = "BufferError"

Source§

const DOC: Option<&'static str>

Source§

const BASICSIZE: usize = 0usize

Source§

const UNHASHABLE: bool = false

Source§

type Base = PyException

Source§

impl PyClassDef for PyByteArray

Source§

const NAME: &'static str = "bytearray"

Source§

const MODULE_NAME: Option<&'static str> = None

Source§

const TP_NAME: &'static str = "bytearray"

Source§

const DOC: Option<&'static str>

Source§

const BASICSIZE: usize = 40usize

Source§

const UNHASHABLE: bool = true

Source§

type Base = PyBaseObject

Source§

impl PyClassDef for PyBytes

Source§

const NAME: &'static str = "bytes"

Source§

const MODULE_NAME: Option<&'static str> = None

Source§

const TP_NAME: &'static str = "bytes"

Source§

const DOC: Option<&'static str>

Source§

const BASICSIZE: usize = 24usize

Source§

const UNHASHABLE: bool = false

Source§

type Base = PyBaseObject

Source§

impl PyClassDef for PyBytesWarning

Source§

const NAME: &'static str = "BytesWarning"

Source§

const MODULE_NAME: Option<&'static str> = None

Source§

const TP_NAME: &'static str = "BytesWarning"

Source§

const DOC: Option<&'static str>

Source§

const BASICSIZE: usize = 0usize

Source§

const UNHASHABLE: bool = false

Source§

type Base = PyWarning

Source§

impl PyClassDef for PyCallableIterator

Source§

const NAME: &'static str = "callable_iterator"

Source§

const MODULE_NAME: Option<&'static str> = None

Source§

const TP_NAME: &'static str = "callable_iterator"

Source§

const DOC: Option<&'static str> = None

Source§

const BASICSIZE: usize = 32usize

Source§

const UNHASHABLE: bool = false

Source§

type Base = PyBaseObject

Source§

impl PyClassDef for PyChildProcessError

Source§

const NAME: &'static str = "ChildProcessError"

Source§

const MODULE_NAME: Option<&'static str> = None

Source§

const TP_NAME: &'static str = "ChildProcessError"

Source§

const DOC: Option<&'static str>

Source§

const BASICSIZE: usize = 0usize

Source§

const UNHASHABLE: bool = false

Source§

type Base = PyOSError

Source§

impl PyClassDef for PyClassMethod

Source§

const NAME: &'static str = "classmethod"

Source§

const MODULE_NAME: Option<&'static str> = None

Source§

const TP_NAME: &'static str = "classmethod"

Source§

const DOC: Option<&'static str>

Source§

const BASICSIZE: usize = 16usize

Source§

const UNHASHABLE: bool = false

Source§

type Base = PyBaseObject

Source§

impl PyClassDef for PyCode

Source§

const NAME: &'static str = "code"

Source§

const MODULE_NAME: Option<&'static str> = None

Source§

const TP_NAME: &'static str = "code"

Source§

const DOC: Option<&'static str> = None

Source§

const BASICSIZE: usize = 168usize

Source§

const UNHASHABLE: bool = false

Source§

type Base = PyBaseObject

Source§

impl PyClassDef for PyComplex

Source§

const NAME: &'static str = "complex"

Source§

const MODULE_NAME: Option<&'static str> = None

Source§

const TP_NAME: &'static str = "complex"

Source§

const DOC: Option<&'static str>

Source§

const BASICSIZE: usize = 16usize

Source§

const UNHASHABLE: bool = false

Source§

type Base = PyBaseObject

Source§

impl PyClassDef for PyConnectionAbortedError

Source§

const NAME: &'static str = "ConnectionAbortedError"

Source§

const MODULE_NAME: Option<&'static str> = None

Source§

const TP_NAME: &'static str = "ConnectionAbortedError"

Source§

const DOC: Option<&'static str>

Source§

const BASICSIZE: usize = 0usize

Source§

const UNHASHABLE: bool = false

Source§

type Base = PyConnectionError

Source§

impl PyClassDef for PyConnectionError

Source§

const NAME: &'static str = "ConnectionError"

Source§

const MODULE_NAME: Option<&'static str> = None

Source§

const TP_NAME: &'static str = "ConnectionError"

Source§

const DOC: Option<&'static str>

Source§

const BASICSIZE: usize = 0usize

Source§

const UNHASHABLE: bool = false

Source§

type Base = PyOSError

Source§

impl PyClassDef for PyConnectionRefusedError

Source§

const NAME: &'static str = "ConnectionRefusedError"

Source§

const MODULE_NAME: Option<&'static str> = None

Source§

const TP_NAME: &'static str = "ConnectionRefusedError"

Source§

const DOC: Option<&'static str>

Source§

const BASICSIZE: usize = 0usize

Source§

const UNHASHABLE: bool = false

Source§

type Base = PyConnectionError

Source§

impl PyClassDef for PyConnectionResetError

Source§

const NAME: &'static str = "ConnectionResetError"

Source§

const MODULE_NAME: Option<&'static str> = None

Source§

const TP_NAME: &'static str = "ConnectionResetError"

Source§

const DOC: Option<&'static str>

Source§

const BASICSIZE: usize = 0usize

Source§

const UNHASHABLE: bool = false

Source§

type Base = PyConnectionError

Source§

impl PyClassDef for PyCoroutine

Source§

const NAME: &'static str = "coroutine"

Source§

const MODULE_NAME: Option<&'static str> = None

Source§

const TP_NAME: &'static str = "coroutine"

Source§

const DOC: Option<&'static str> = None

Source§

const BASICSIZE: usize = 48usize

Source§

const UNHASHABLE: bool = false

Source§

type Base = PyBaseObject

Source§

impl PyClassDef for PyDeprecationWarning

Source§

const NAME: &'static str = "DeprecationWarning"

Source§

const MODULE_NAME: Option<&'static str> = None

Source§

const TP_NAME: &'static str = "DeprecationWarning"

Source§

const DOC: Option<&'static str>

Source§

const BASICSIZE: usize = 0usize

Source§

const UNHASHABLE: bool = false

Source§

type Base = PyWarning

Source§

impl PyClassDef for PyDict

Source§

const NAME: &'static str = "dict"

Source§

const MODULE_NAME: Option<&'static str> = None

Source§

const TP_NAME: &'static str = "dict"

Source§

const DOC: Option<&'static str>

Source§

const BASICSIZE: usize = 72usize

Source§

const UNHASHABLE: bool = true

Source§

type Base = PyBaseObject

Source§

impl PyClassDef for PyEOFError

Source§

const NAME: &'static str = "EOFError"

Source§

const MODULE_NAME: Option<&'static str> = None

Source§

const TP_NAME: &'static str = "EOFError"

Source§

const DOC: Option<&'static str>

Source§

const BASICSIZE: usize = 0usize

Source§

const UNHASHABLE: bool = false

Source§

type Base = PyException

Source§

impl PyClassDef for PyEllipsis

Source§

const NAME: &'static str = "EllipsisType"

Source§

const MODULE_NAME: Option<&'static str> = None

Source§

const TP_NAME: &'static str = "EllipsisType"

Source§

const DOC: Option<&'static str> = None

Source§

const BASICSIZE: usize = 0usize

Source§

const UNHASHABLE: bool = false

Source§

type Base = PyBaseObject

Source§

impl PyClassDef for PyEncodingWarning

Source§

const NAME: &'static str = "EncodingWarning"

Source§

const MODULE_NAME: Option<&'static str> = None

Source§

const TP_NAME: &'static str = "EncodingWarning"

Source§

const DOC: Option<&'static str>

Source§

const BASICSIZE: usize = 0usize

Source§

const UNHASHABLE: bool = false

Source§

type Base = PyWarning

Source§

impl PyClassDef for PyEnumerate

Source§

const NAME: &'static str = "enumerate"

Source§

const MODULE_NAME: Option<&'static str> = None

Source§

const TP_NAME: &'static str = "enumerate"

Source§

const DOC: Option<&'static str>

Source§

const BASICSIZE: usize = 48usize

Source§

const UNHASHABLE: bool = false

Source§

type Base = PyBaseObject

Source§

impl PyClassDef for PyException

Source§

const NAME: &'static str = "Exception"

Source§

const MODULE_NAME: Option<&'static str> = None

Source§

const TP_NAME: &'static str = "Exception"

Source§

const DOC: Option<&'static str>

Source§

const BASICSIZE: usize = 0usize

Source§

const UNHASHABLE: bool = false

Source§

type Base = PyBaseException

Source§

impl PyClassDef for PyExceptionGroup

Source§

const NAME: &'static str = "ExceptionGroup"

Source§

const MODULE_NAME: Option<&'static str> = None

Source§

const TP_NAME: &'static str = "ExceptionGroup"

Source§

const DOC: Option<&'static str> = None

Source§

const BASICSIZE: usize = 0usize

Source§

const UNHASHABLE: bool = false

Source§

type Base = PyBaseExceptionGroup

Source§

impl PyClassDef for PyFileExistsError

Source§

const NAME: &'static str = "FileExistsError"

Source§

const MODULE_NAME: Option<&'static str> = None

Source§

const TP_NAME: &'static str = "FileExistsError"

Source§

const DOC: Option<&'static str>

Source§

const BASICSIZE: usize = 0usize

Source§

const UNHASHABLE: bool = false

Source§

type Base = PyOSError

Source§

impl PyClassDef for PyFileNotFoundError

Source§

const NAME: &'static str = "FileNotFoundError"

Source§

const MODULE_NAME: Option<&'static str> = None

Source§

const TP_NAME: &'static str = "FileNotFoundError"

Source§

const DOC: Option<&'static str>

Source§

const BASICSIZE: usize = 0usize

Source§

const UNHASHABLE: bool = false

Source§

type Base = PyOSError

Source§

impl PyClassDef for PyFilter

Source§

const NAME: &'static str = "filter"

Source§

const MODULE_NAME: Option<&'static str> = None

Source§

const TP_NAME: &'static str = "filter"

Source§

const DOC: Option<&'static str>

Source§

const BASICSIZE: usize = 16usize

Source§

const UNHASHABLE: bool = false

Source§

type Base = PyBaseObject

Source§

impl PyClassDef for PyFloat

Source§

const NAME: &'static str = "float"

Source§

const MODULE_NAME: Option<&'static str> = None

Source§

const TP_NAME: &'static str = "float"

Source§

const DOC: Option<&'static str>

Source§

const BASICSIZE: usize = 8usize

Source§

const UNHASHABLE: bool = false

Source§

type Base = PyBaseObject

Source§

impl PyClassDef for PyFloatingPointError

Source§

const NAME: &'static str = "FloatingPointError"

Source§

const MODULE_NAME: Option<&'static str> = None

Source§

const TP_NAME: &'static str = "FloatingPointError"

Source§

const DOC: Option<&'static str>

Source§

const BASICSIZE: usize = 0usize

Source§

const UNHASHABLE: bool = false

Source§

type Base = PyArithmeticError

Source§

impl PyClassDef for PyFrozenSet

Source§

const NAME: &'static str = "frozenset"

Source§

const MODULE_NAME: Option<&'static str> = None

Source§

const TP_NAME: &'static str = "frozenset"

Source§

const DOC: Option<&'static str>

Source§

const BASICSIZE: usize = 8usize

Source§

const UNHASHABLE: bool = true

Source§

type Base = PyBaseObject

Source§

impl PyClassDef for PyFunction

Source§

const NAME: &'static str = "function"

Source§

const MODULE_NAME: Option<&'static str> = None

Source§

const TP_NAME: &'static str = "function"

Source§

const DOC: Option<&'static str>

Source§

const BASICSIZE: usize = 96usize

Source§

const UNHASHABLE: bool = false

Source§

type Base = PyBaseObject

Source§

impl PyClassDef for PyFutureWarning

Source§

const NAME: &'static str = "FutureWarning"

Source§

const MODULE_NAME: Option<&'static str> = None

Source§

const TP_NAME: &'static str = "FutureWarning"

Source§

const DOC: Option<&'static str>

Source§

const BASICSIZE: usize = 0usize

Source§

const UNHASHABLE: bool = false

Source§

type Base = PyWarning

Source§

impl PyClassDef for PyGenerator

Source§

const NAME: &'static str = "generator"

Source§

const MODULE_NAME: Option<&'static str> = None

Source§

const TP_NAME: &'static str = "generator"

Source§

const DOC: Option<&'static str> = None

Source§

const BASICSIZE: usize = 48usize

Source§

const UNHASHABLE: bool = false

Source§

type Base = PyBaseObject

Source§

impl PyClassDef for PyGeneratorExit

Source§

const NAME: &'static str = "GeneratorExit"

Source§

const MODULE_NAME: Option<&'static str> = None

Source§

const TP_NAME: &'static str = "GeneratorExit"

Source§

const DOC: Option<&'static str>

Source§

const BASICSIZE: usize = 0usize

Source§

const UNHASHABLE: bool = false

Source§

type Base = PyBaseException

Source§

impl PyClassDef for PyGenericAlias

Source§

const NAME: &'static str = "GenericAlias"

Source§

const MODULE_NAME: Option<&'static str>

Source§

const TP_NAME: &'static str = "types.GenericAlias"

Source§

const DOC: Option<&'static str> = None

Source§

const BASICSIZE: usize = 24usize

Source§

const UNHASHABLE: bool = false

Source§

type Base = PyBaseObject

Source§

impl PyClassDef for PyGetSet

Source§

const NAME: &'static str = "getset_descriptor"

Source§

const MODULE_NAME: Option<&'static str> = None

Source§

const TP_NAME: &'static str = "getset_descriptor"

Source§

const DOC: Option<&'static str> = None

Source§

const BASICSIZE: usize = 64usize

Source§

const UNHASHABLE: bool = false

Source§

type Base = PyBaseObject

Source§

impl PyClassDef for PyImportError

Source§

const NAME: &'static str = "ImportError"

Source§

const MODULE_NAME: Option<&'static str> = None

Source§

const TP_NAME: &'static str = "ImportError"

Source§

const DOC: Option<&'static str>

Source§

const BASICSIZE: usize = 0usize

Source§

const UNHASHABLE: bool = false

Source§

type Base = PyException

Source§

impl PyClassDef for PyImportWarning

Source§

const NAME: &'static str = "ImportWarning"

Source§

const MODULE_NAME: Option<&'static str> = None

Source§

const TP_NAME: &'static str = "ImportWarning"

Source§

const DOC: Option<&'static str>

Source§

const BASICSIZE: usize = 0usize

Source§

const UNHASHABLE: bool = false

Source§

type Base = PyWarning

Source§

impl PyClassDef for PyIndentationError

Source§

const NAME: &'static str = "IndentationError"

Source§

const MODULE_NAME: Option<&'static str> = None

Source§

const TP_NAME: &'static str = "IndentationError"

Source§

const DOC: Option<&'static str>

Source§

const BASICSIZE: usize = 0usize

Source§

const UNHASHABLE: bool = false

Source§

type Base = PySyntaxError

Source§

impl PyClassDef for PyIndexError

Source§

const NAME: &'static str = "IndexError"

Source§

const MODULE_NAME: Option<&'static str> = None

Source§

const TP_NAME: &'static str = "IndexError"

Source§

const DOC: Option<&'static str>

Source§

const BASICSIZE: usize = 0usize

Source§

const UNHASHABLE: bool = false

Source§

type Base = PyLookupError

Source§

impl PyClassDef for PyInt

Source§

const NAME: &'static str = "int"

Source§

const MODULE_NAME: Option<&'static str> = None

Source§

const TP_NAME: &'static str = "int"

Source§

const DOC: Option<&'static str>

Source§

const BASICSIZE: usize = 32usize

Source§

const UNHASHABLE: bool = false

Source§

type Base = PyBaseObject

Source§

impl PyClassDef for PyInterruptedError

Source§

const NAME: &'static str = "InterruptedError"

Source§

const MODULE_NAME: Option<&'static str> = None

Source§

const TP_NAME: &'static str = "InterruptedError"

Source§

const DOC: Option<&'static str>

Source§

const BASICSIZE: usize = 0usize

Source§

const UNHASHABLE: bool = false

Source§

type Base = PyOSError

Source§

impl PyClassDef for PyIsADirectoryError

Source§

const NAME: &'static str = "IsADirectoryError"

Source§

const MODULE_NAME: Option<&'static str> = None

Source§

const TP_NAME: &'static str = "IsADirectoryError"

Source§

const DOC: Option<&'static str>

Source§

const BASICSIZE: usize = 0usize

Source§

const UNHASHABLE: bool = false

Source§

type Base = PyOSError

Source§

impl PyClassDef for PyKeyError

Source§

const NAME: &'static str = "KeyError"

Source§

const MODULE_NAME: Option<&'static str> = None

Source§

const TP_NAME: &'static str = "KeyError"

Source§

const DOC: Option<&'static str>

Source§

const BASICSIZE: usize = 0usize

Source§

const UNHASHABLE: bool = false

Source§

type Base = PyLookupError

Source§

impl PyClassDef for PyKeyboardInterrupt

Source§

const NAME: &'static str = "KeyboardInterrupt"

Source§

const MODULE_NAME: Option<&'static str> = None

Source§

const TP_NAME: &'static str = "KeyboardInterrupt"

Source§

const DOC: Option<&'static str>

Source§

const BASICSIZE: usize = 0usize

Source§

const UNHASHABLE: bool = false

Source§

type Base = PyBaseException

Source§

impl PyClassDef for PyList

Source§

const NAME: &'static str = "list"

Source§

const MODULE_NAME: Option<&'static str> = None

Source§

const TP_NAME: &'static str = "list"

Source§

const DOC: Option<&'static str>

Source§

const BASICSIZE: usize = 32usize

Source§

const UNHASHABLE: bool = true

Source§

type Base = PyBaseObject

Source§

impl PyClassDef for PyLookupError

Source§

const NAME: &'static str = "LookupError"

Source§

const MODULE_NAME: Option<&'static str> = None

Source§

const TP_NAME: &'static str = "LookupError"

Source§

const DOC: Option<&'static str>

Source§

const BASICSIZE: usize = 0usize

Source§

const UNHASHABLE: bool = false

Source§

type Base = PyException

Source§

impl PyClassDef for PyMap

Source§

const NAME: &'static str = "map"

Source§

const MODULE_NAME: Option<&'static str> = None

Source§

const TP_NAME: &'static str = "map"

Source§

const DOC: Option<&'static str>

Source§

const BASICSIZE: usize = 32usize

Source§

const UNHASHABLE: bool = false

Source§

type Base = PyBaseObject

Source§

impl PyClassDef for PyMappingProxy

Source§

const NAME: &'static str = "mappingproxy"

Source§

const MODULE_NAME: Option<&'static str> = None

Source§

const TP_NAME: &'static str = "mappingproxy"

Source§

const DOC: Option<&'static str> = None

Source§

const BASICSIZE: usize = 16usize

Source§

const UNHASHABLE: bool = false

Source§

type Base = PyBaseObject

Source§

impl PyClassDef for PyMemoryError

Source§

const NAME: &'static str = "MemoryError"

Source§

const MODULE_NAME: Option<&'static str> = None

Source§

const TP_NAME: &'static str = "MemoryError"

Source§

const DOC: Option<&'static str>

Source§

const BASICSIZE: usize = 0usize

Source§

const UNHASHABLE: bool = false

Source§

type Base = PyException

Source§

impl PyClassDef for PyMemoryView

Source§

const NAME: &'static str = "memoryview"

Source§

const MODULE_NAME: Option<&'static str> = None

Source§

const TP_NAME: &'static str = "memoryview"

Source§

const DOC: Option<&'static str>

Source§

const BASICSIZE: usize = 240usize

Source§

const UNHASHABLE: bool = false

Source§

type Base = PyBaseObject

Source§

impl PyClassDef for PyModule

Source§

const NAME: &'static str = "module"

Source§

const MODULE_NAME: Option<&'static str> = None

Source§

const TP_NAME: &'static str = "module"

Source§

const DOC: Option<&'static str> = None

Source§

const BASICSIZE: usize = 16usize

Source§

const UNHASHABLE: bool = false

Source§

type Base = PyBaseObject

Source§

impl PyClassDef for PyModuleDef

Source§

const NAME: &'static str = "module"

Source§

const MODULE_NAME: Option<&'static str> = None

Source§

const TP_NAME: &'static str = "module"

Source§

const DOC: Option<&'static str> = None

Source§

const BASICSIZE: usize = 48usize

Source§

const UNHASHABLE: bool = false

Source§

type Base = PyBaseObject

Source§

impl PyClassDef for PyModuleNotFoundError

Source§

const NAME: &'static str = "ModuleNotFoundError"

Source§

const MODULE_NAME: Option<&'static str> = None

Source§

const TP_NAME: &'static str = "ModuleNotFoundError"

Source§

const DOC: Option<&'static str>

Source§

const BASICSIZE: usize = 0usize

Source§

const UNHASHABLE: bool = false

Source§

type Base = PyImportError

Source§

impl PyClassDef for PyNameError

Source§

const NAME: &'static str = "NameError"

Source§

const MODULE_NAME: Option<&'static str> = None

Source§

const TP_NAME: &'static str = "NameError"

Source§

const DOC: Option<&'static str>

Source§

const BASICSIZE: usize = 0usize

Source§

const UNHASHABLE: bool = false

Source§

type Base = PyException

Source§

impl PyClassDef for PyNamespace

Source§

const NAME: &'static str = "SimpleNamespace"

Source§

const MODULE_NAME: Option<&'static str>

Source§

const TP_NAME: &'static str = "types.SimpleNamespace"

Source§

const DOC: Option<&'static str>

Source§

const BASICSIZE: usize = 0usize

Source§

const UNHASHABLE: bool = false

Source§

type Base = PyBaseObject

Source§

impl PyClassDef for PyNone

Source§

const NAME: &'static str = "NoneType"

Source§

const MODULE_NAME: Option<&'static str> = None

Source§

const TP_NAME: &'static str = "NoneType"

Source§

const DOC: Option<&'static str> = None

Source§

const BASICSIZE: usize = 0usize

Source§

const UNHASHABLE: bool = false

Source§

type Base = PyBaseObject

Source§

impl PyClassDef for PyNotADirectoryError

Source§

const NAME: &'static str = "NotADirectoryError"

Source§

const MODULE_NAME: Option<&'static str> = None

Source§

const TP_NAME: &'static str = "NotADirectoryError"

Source§

const DOC: Option<&'static str>

Source§

const BASICSIZE: usize = 0usize

Source§

const UNHASHABLE: bool = false

Source§

type Base = PyOSError

Source§

impl PyClassDef for PyNotImplemented

Source§

const NAME: &'static str = "NotImplementedType"

Source§

const MODULE_NAME: Option<&'static str> = None

Source§

const TP_NAME: &'static str = "NotImplementedType"

Source§

const DOC: Option<&'static str> = None

Source§

const BASICSIZE: usize = 0usize

Source§

const UNHASHABLE: bool = false

Source§

type Base = PyBaseObject

Source§

impl PyClassDef for PyNotImplementedError

Source§

const NAME: &'static str = "NotImplementedError"

Source§

const MODULE_NAME: Option<&'static str> = None

Source§

const TP_NAME: &'static str = "NotImplementedError"

Source§

const DOC: Option<&'static str>

Source§

const BASICSIZE: usize = 0usize

Source§

const UNHASHABLE: bool = false

Source§

type Base = PyRuntimeError

Source§

impl PyClassDef for PyOSError

Source§

const NAME: &'static str = "OSError"

Source§

const MODULE_NAME: Option<&'static str> = None

Source§

const TP_NAME: &'static str = "OSError"

Source§

const DOC: Option<&'static str>

Source§

const BASICSIZE: usize = 0usize

Source§

const UNHASHABLE: bool = false

Source§

type Base = PyException

Source§

impl PyClassDef for PyOverflowError

Source§

const NAME: &'static str = "OverflowError"

Source§

const MODULE_NAME: Option<&'static str> = None

Source§

const TP_NAME: &'static str = "OverflowError"

Source§

const DOC: Option<&'static str>

Source§

const BASICSIZE: usize = 0usize

Source§

const UNHASHABLE: bool = false

Source§

type Base = PyArithmeticError

Source§

impl PyClassDef for PyPendingDeprecationWarning

Source§

const NAME: &'static str = "PendingDeprecationWarning"

Source§

const MODULE_NAME: Option<&'static str> = None

Source§

const TP_NAME: &'static str = "PendingDeprecationWarning"

Source§

const DOC: Option<&'static str>

Source§

const BASICSIZE: usize = 0usize

Source§

const UNHASHABLE: bool = false

Source§

type Base = PyWarning

Source§

impl PyClassDef for PyPermissionError

Source§

const NAME: &'static str = "PermissionError"

Source§

const MODULE_NAME: Option<&'static str> = None

Source§

const TP_NAME: &'static str = "PermissionError"

Source§

const DOC: Option<&'static str>

Source§

const BASICSIZE: usize = 0usize

Source§

const UNHASHABLE: bool = false

Source§

type Base = PyOSError

Source§

impl PyClassDef for PyProcessLookupError

Source§

const NAME: &'static str = "ProcessLookupError"

Source§

const MODULE_NAME: Option<&'static str> = None

Source§

const TP_NAME: &'static str = "ProcessLookupError"

Source§

const DOC: Option<&'static str>

Source§

const BASICSIZE: usize = 0usize

Source§

const UNHASHABLE: bool = false

Source§

type Base = PyOSError

Source§

impl PyClassDef for PyProperty

Source§

const NAME: &'static str = "property"

Source§

const MODULE_NAME: Option<&'static str> = None

Source§

const TP_NAME: &'static str = "property"

Source§

const DOC: Option<&'static str>

Source§

const BASICSIZE: usize = 80usize

Source§

const UNHASHABLE: bool = false

Source§

type Base = PyBaseObject

Source§

impl PyClassDef for PyRange

Source§

const NAME: &'static str = "range"

Source§

const MODULE_NAME: Option<&'static str> = None

Source§

const TP_NAME: &'static str = "range"

Source§

const DOC: Option<&'static str>

Source§

const BASICSIZE: usize = 24usize

Source§

const UNHASHABLE: bool = false

Source§

type Base = PyBaseObject

Source§

impl PyClassDef for PyRecursionError

Source§

const NAME: &'static str = "RecursionError"

Source§

const MODULE_NAME: Option<&'static str> = None

Source§

const TP_NAME: &'static str = "RecursionError"

Source§

const DOC: Option<&'static str>

Source§

const BASICSIZE: usize = 0usize

Source§

const UNHASHABLE: bool = false

Source§

type Base = PyRuntimeError

Source§

impl PyClassDef for PyReferenceError

Source§

const NAME: &'static str = "ReferenceError"

Source§

const MODULE_NAME: Option<&'static str> = None

Source§

const TP_NAME: &'static str = "ReferenceError"

Source§

const DOC: Option<&'static str>

Source§

const BASICSIZE: usize = 0usize

Source§

const UNHASHABLE: bool = false

Source§

type Base = PyException

Source§

impl PyClassDef for PyResourceWarning

Source§

const NAME: &'static str = "ResourceWarning"

Source§

const MODULE_NAME: Option<&'static str> = None

Source§

const TP_NAME: &'static str = "ResourceWarning"

Source§

const DOC: Option<&'static str>

Source§

const BASICSIZE: usize = 0usize

Source§

const UNHASHABLE: bool = false

Source§

type Base = PyWarning

Source§

impl PyClassDef for PyRuntimeError

Source§

const NAME: &'static str = "RuntimeError"

Source§

const MODULE_NAME: Option<&'static str> = None

Source§

const TP_NAME: &'static str = "RuntimeError"

Source§

const DOC: Option<&'static str>

Source§

const BASICSIZE: usize = 0usize

Source§

const UNHASHABLE: bool = false

Source§

type Base = PyException

Source§

impl PyClassDef for PyRuntimeWarning

Source§

const NAME: &'static str = "RuntimeWarning"

Source§

const MODULE_NAME: Option<&'static str> = None

Source§

const TP_NAME: &'static str = "RuntimeWarning"

Source§

const DOC: Option<&'static str>

Source§

const BASICSIZE: usize = 0usize

Source§

const UNHASHABLE: bool = false

Source§

type Base = PyWarning

Source§

impl PyClassDef for PySequenceIterator

Source§

const NAME: &'static str = "iterator"

Source§

const MODULE_NAME: Option<&'static str> = None

Source§

const TP_NAME: &'static str = "iterator"

Source§

const DOC: Option<&'static str> = None

Source§

const BASICSIZE: usize = 32usize

Source§

const UNHASHABLE: bool = false

Source§

type Base = PyBaseObject

Source§

impl PyClassDef for PySet

Source§

const NAME: &'static str = "set"

Source§

const MODULE_NAME: Option<&'static str> = None

Source§

const TP_NAME: &'static str = "set"

Source§

const DOC: Option<&'static str>

Source§

const BASICSIZE: usize = 8usize

Source§

const UNHASHABLE: bool = true

Source§

type Base = PyBaseObject

Source§

impl PyClassDef for PySlice

Source§

const NAME: &'static str = "slice"

Source§

const MODULE_NAME: Option<&'static str> = None

Source§

const TP_NAME: &'static str = "slice"

Source§

const DOC: Option<&'static str>

Source§

const BASICSIZE: usize = 24usize

Source§

const UNHASHABLE: bool = true

Source§

type Base = PyBaseObject

Source§

impl PyClassDef for PyStaticMethod

Source§

const NAME: &'static str = "staticmethod"

Source§

const MODULE_NAME: Option<&'static str> = None

Source§

const TP_NAME: &'static str = "staticmethod"

Source§

const DOC: Option<&'static str>

Source§

const BASICSIZE: usize = 16usize

Source§

const UNHASHABLE: bool = false

Source§

type Base = PyBaseObject

Source§

impl PyClassDef for PyStopAsyncIteration

Source§

const NAME: &'static str = "StopAsyncIteration"

Source§

const MODULE_NAME: Option<&'static str> = None

Source§

const TP_NAME: &'static str = "StopAsyncIteration"

Source§

const DOC: Option<&'static str>

Source§

const BASICSIZE: usize = 0usize

Source§

const UNHASHABLE: bool = false

Source§

type Base = PyException

Source§

impl PyClassDef for PyStopIteration

Source§

const NAME: &'static str = "StopIteration"

Source§

const MODULE_NAME: Option<&'static str> = None

Source§

const TP_NAME: &'static str = "StopIteration"

Source§

const DOC: Option<&'static str>

Source§

const BASICSIZE: usize = 0usize

Source§

const UNHASHABLE: bool = false

Source§

type Base = PyException

Source§

impl PyClassDef for PyStr

Source§

const NAME: &'static str = "str"

Source§

const MODULE_NAME: Option<&'static str> = None

Source§

const TP_NAME: &'static str = "str"

Source§

const DOC: Option<&'static str>

Source§

const BASICSIZE: usize = 40usize

Source§

const UNHASHABLE: bool = false

Source§

type Base = PyBaseObject

Source§

impl PyClassDef for PySuper

Source§

const NAME: &'static str = "super"

Source§

const MODULE_NAME: Option<&'static str> = None

Source§

const TP_NAME: &'static str = "super"

Source§

const DOC: Option<&'static str>

Source§

const BASICSIZE: usize = 32usize

Source§

const UNHASHABLE: bool = false

Source§

type Base = PyBaseObject

Source§

impl PyClassDef for PySyntaxError

Source§

const NAME: &'static str = "SyntaxError"

Source§

const MODULE_NAME: Option<&'static str> = None

Source§

const TP_NAME: &'static str = "SyntaxError"

Source§

const DOC: Option<&'static str>

Source§

const BASICSIZE: usize = 0usize

Source§

const UNHASHABLE: bool = false

Source§

type Base = PyException

Source§

impl PyClassDef for PySyntaxWarning

Source§

const NAME: &'static str = "SyntaxWarning"

Source§

const MODULE_NAME: Option<&'static str> = None

Source§

const TP_NAME: &'static str = "SyntaxWarning"

Source§

const DOC: Option<&'static str>

Source§

const BASICSIZE: usize = 0usize

Source§

const UNHASHABLE: bool = false

Source§

type Base = PyWarning

Source§

impl PyClassDef for PySystemError

Source§

const NAME: &'static str = "SystemError"

Source§

const MODULE_NAME: Option<&'static str> = None

Source§

const TP_NAME: &'static str = "SystemError"

Source§

const DOC: Option<&'static str>

Source§

const BASICSIZE: usize = 0usize

Source§

const UNHASHABLE: bool = false

Source§

type Base = PyException

Source§

impl PyClassDef for PySystemExit

Source§

const NAME: &'static str = "SystemExit"

Source§

const MODULE_NAME: Option<&'static str> = None

Source§

const TP_NAME: &'static str = "SystemExit"

Source§

const DOC: Option<&'static str>

Source§

const BASICSIZE: usize = 0usize

Source§

const UNHASHABLE: bool = false

Source§

type Base = PyBaseException

Source§

impl PyClassDef for PyTabError

Source§

const NAME: &'static str = "TabError"

Source§

const MODULE_NAME: Option<&'static str> = None

Source§

const TP_NAME: &'static str = "TabError"

Source§

const DOC: Option<&'static str>

Source§

const BASICSIZE: usize = 0usize

Source§

const UNHASHABLE: bool = false

Source§

type Base = PyIndentationError

Source§

impl PyClassDef for PyTimeoutError

Source§

const NAME: &'static str = "TimeoutError"

Source§

const MODULE_NAME: Option<&'static str> = None

Source§

const TP_NAME: &'static str = "TimeoutError"

Source§

const DOC: Option<&'static str>

Source§

const BASICSIZE: usize = 0usize

Source§

const UNHASHABLE: bool = false

Source§

type Base = PyOSError

Source§

impl PyClassDef for PyTraceback

Source§

const NAME: &'static str = "traceback"

Source§

const MODULE_NAME: Option<&'static str> = None

Source§

const TP_NAME: &'static str = "traceback"

Source§

const DOC: Option<&'static str> = None

Source§

const BASICSIZE: usize = 32usize

Source§

const UNHASHABLE: bool = false

Source§

type Base = PyBaseObject

Source§

impl PyClassDef for PyTuple

Source§

const NAME: &'static str = "tuple"

Source§

const MODULE_NAME: Option<&'static str> = None

Source§

const TP_NAME: &'static str = "tuple"

Source§

const DOC: Option<&'static str>

Source§

const BASICSIZE: usize = 16usize

Source§

const UNHASHABLE: bool = false

Source§

type Base = PyBaseObject

Source§

impl PyClassDef for PyType

Source§

const NAME: &'static str = "type"

Source§

const MODULE_NAME: Option<&'static str> = None

Source§

const TP_NAME: &'static str = "type"

Source§

const DOC: Option<&'static str>

Source§

const BASICSIZE: usize = 800usize

Source§

const UNHASHABLE: bool = false

Source§

type Base = PyBaseObject

Source§

impl PyClassDef for PyTypeError

Source§

const NAME: &'static str = "TypeError"

Source§

const MODULE_NAME: Option<&'static str> = None

Source§

const TP_NAME: &'static str = "TypeError"

Source§

const DOC: Option<&'static str>

Source§

const BASICSIZE: usize = 0usize

Source§

const UNHASHABLE: bool = false

Source§

type Base = PyException

Source§

impl PyClassDef for PyUnboundLocalError

Source§

const NAME: &'static str = "UnboundLocalError"

Source§

const MODULE_NAME: Option<&'static str> = None

Source§

const TP_NAME: &'static str = "UnboundLocalError"

Source§

const DOC: Option<&'static str>

Source§

const BASICSIZE: usize = 0usize

Source§

const UNHASHABLE: bool = false

Source§

type Base = PyNameError

Source§

impl PyClassDef for PyUnicodeDecodeError

Source§

const NAME: &'static str = "UnicodeDecodeError"

Source§

const MODULE_NAME: Option<&'static str> = None

Source§

const TP_NAME: &'static str = "UnicodeDecodeError"

Source§

const DOC: Option<&'static str>

Source§

const BASICSIZE: usize = 0usize

Source§

const UNHASHABLE: bool = false

Source§

type Base = PyUnicodeError

Source§

impl PyClassDef for PyUnicodeEncodeError

Source§

const NAME: &'static str = "UnicodeEncodeError"

Source§

const MODULE_NAME: Option<&'static str> = None

Source§

const TP_NAME: &'static str = "UnicodeEncodeError"

Source§

const DOC: Option<&'static str>

Source§

const BASICSIZE: usize = 0usize

Source§

const UNHASHABLE: bool = false

Source§

type Base = PyUnicodeError

Source§

impl PyClassDef for PyUnicodeError

Source§

const NAME: &'static str = "UnicodeError"

Source§

const MODULE_NAME: Option<&'static str> = None

Source§

const TP_NAME: &'static str = "UnicodeError"

Source§

const DOC: Option<&'static str>

Source§

const BASICSIZE: usize = 0usize

Source§

const UNHASHABLE: bool = false

Source§

type Base = PyValueError

Source§

impl PyClassDef for PyUnicodeTranslateError

Source§

const NAME: &'static str = "UnicodeTranslateError"

Source§

const MODULE_NAME: Option<&'static str> = None

Source§

const TP_NAME: &'static str = "UnicodeTranslateError"

Source§

const DOC: Option<&'static str>

Source§

const BASICSIZE: usize = 0usize

Source§

const UNHASHABLE: bool = false

Source§

type Base = PyUnicodeError

Source§

impl PyClassDef for PyUnicodeWarning

Source§

const NAME: &'static str = "UnicodeWarning"

Source§

const MODULE_NAME: Option<&'static str> = None

Source§

const TP_NAME: &'static str = "UnicodeWarning"

Source§

const DOC: Option<&'static str>

Source§

const BASICSIZE: usize = 0usize

Source§

const UNHASHABLE: bool = false

Source§

type Base = PyWarning

Source§

impl PyClassDef for PyUnion

Source§

const NAME: &'static str = "UnionType"

Source§

const MODULE_NAME: Option<&'static str>

Source§

const TP_NAME: &'static str = "types.UnionType"

Source§

const DOC: Option<&'static str> = None

Source§

const BASICSIZE: usize = 16usize

Source§

const UNHASHABLE: bool = false

Source§

type Base = PyBaseObject

Source§

impl PyClassDef for PyUserWarning

Source§

const NAME: &'static str = "UserWarning"

Source§

const MODULE_NAME: Option<&'static str> = None

Source§

const TP_NAME: &'static str = "UserWarning"

Source§

const DOC: Option<&'static str>

Source§

const BASICSIZE: usize = 0usize

Source§

const UNHASHABLE: bool = false

Source§

type Base = PyWarning

Source§

impl PyClassDef for PyValueError

Source§

const NAME: &'static str = "ValueError"

Source§

const MODULE_NAME: Option<&'static str> = None

Source§

const TP_NAME: &'static str = "ValueError"

Source§

const DOC: Option<&'static str>

Source§

const BASICSIZE: usize = 0usize

Source§

const UNHASHABLE: bool = false

Source§

type Base = PyException

Source§

impl PyClassDef for PyWarning

Source§

const NAME: &'static str = "Warning"

Source§

const MODULE_NAME: Option<&'static str> = None

Source§

const TP_NAME: &'static str = "Warning"

Source§

const DOC: Option<&'static str>

Source§

const BASICSIZE: usize = 0usize

Source§

const UNHASHABLE: bool = false

Source§

type Base = PyException

Source§

impl PyClassDef for PyWeak

Source§

const NAME: &'static str = "weakref"

Source§

const MODULE_NAME: Option<&'static str> = None

Source§

const TP_NAME: &'static str = "weakref"

Source§

const DOC: Option<&'static str> = None

Source§

const BASICSIZE: usize = 40usize

Source§

const UNHASHABLE: bool = false

Source§

type Base = PyBaseObject

Source§

impl PyClassDef for PyWeakProxy

Source§

const NAME: &'static str = "weakproxy"

Source§

const MODULE_NAME: Option<&'static str> = None

Source§

const TP_NAME: &'static str = "weakproxy"

Source§

const DOC: Option<&'static str> = None

Source§

const BASICSIZE: usize = 8usize

Source§

const UNHASHABLE: bool = true

Source§

type Base = PyBaseObject

Source§

impl PyClassDef for PyZeroDivisionError

Source§

const NAME: &'static str = "ZeroDivisionError"

Source§

const MODULE_NAME: Option<&'static str> = None

Source§

const TP_NAME: &'static str = "ZeroDivisionError"

Source§

const DOC: Option<&'static str>

Source§

const BASICSIZE: usize = 0usize

Source§

const UNHASHABLE: bool = false

Source§

type Base = PyArithmeticError

Source§

impl PyClassDef for PyZip

Source§

const NAME: &'static str = "zip"

Source§

const MODULE_NAME: Option<&'static str> = None

Source§

const TP_NAME: &'static str = "zip"

Source§

const DOC: Option<&'static str>

Source§

const BASICSIZE: usize = 32usize

Source§

const UNHASHABLE: bool = false

Source§

type Base = PyBaseObject

Source§

impl PyClassDef for Frame

Source§

const NAME: &'static str = "frame"

Source§

const MODULE_NAME: Option<&'static str> = None

Source§

const TP_NAME: &'static str = "frame"

Source§

const DOC: Option<&'static str> = None

Source§

const BASICSIZE: usize = 192usize

Source§

const UNHASHABLE: bool = false

Source§

type Base = PyBaseObject

Source§

impl PyClassDef for HeapMethodDef

Source§

const NAME: &'static str = "HeapMethodDef"

Source§

const MODULE_NAME: Option<&'static str> = None

Source§

const TP_NAME: &'static str = "HeapMethodDef"

Source§

const DOC: Option<&'static str> = None

Source§

const BASICSIZE: usize = 56usize

Source§

const UNHASHABLE: bool = false

Source§

type Base = PyBaseObject

Source§

impl PyClassDef for VecBuffer

Source§

const NAME: &'static str = "vec_buffer"

Source§

const MODULE_NAME: Option<&'static str> = None

Source§

const TP_NAME: &'static str = "vec_buffer"

Source§

const DOC: Option<&'static str> = None

Source§

const BASICSIZE: usize = 32usize

Source§

const UNHASHABLE: bool = false

Source§

type Base = PyBaseObject

Morty Proxy This is a proxified and sanitized view of the page, visit original site.