searchState.loadedDescShard("pyo3", 0, "Rust bindings to the Python interpreter.\nType erased version of Self\nA borrowed equivalent to Bound.\nA GIL-attached equivalent to Py<T>.\nOwned or borrowed gil-bound Python smart pointer\nError that indicates a failure to convert a PyAny to a …\nError that indicates a failure to convert a PyAny to a …\nContains the error value\nContains the success value\nA GIL-independent reference to an object allocated on the …\nRepresents a Python exception.\nHelper conversion trait that allows to use custom …\nA commonly-used alias for Py<PyAny>.\nRepresents the result of a Python call.\nRepresents the major, minor, and patch (if any) versions …\nPython exceptions that can be converted to PyErr.\nComputes self + other.\nAppends an item to the list.\nAdd the module to the initialization table in order to …\nArguments for exception\nHelper to cast to Bound<'py, PyAny>.\nHelper to cast to Py<PyAny>.\nBorrow this smart pointer.\nCasts this Bound<T> to a Borrowed<T> smart pointer.\nGets the Python bytes as a byte slice. Because Python …\nTurn this smart pointer into a borrowed reference pointer\nReturns the raw FFI pointer represented by self.\nReturns the raw FFI pointer represented by self.\nGets the underlying FFI pointer, returns a borrowed …\nReturns the raw FFI pointer represented by self.\nReturns self cast as a PySequence.\nUpcast this Bound<PyClass> to its base type by reference.\nRetrieves the underlying FFI pointer associated with this …\nRemoves the connection for this Bound<T> from the GIL, …\nAttaches this Py to the given Python context, allowing …\nSame as bind but produces a Borrowed<T> instead of a …\nComputes self & other.\nComputes self | other.\nComputes self ^ other.\nImmutably borrows the value T.\nImmutably borrows the value T.\nMutably borrows the value T.\nMutably borrows the value T.\nPyBuffer implementation\nDefines how Python calls are dispatched, see PyCallArgs…\nCalls the object.\nCalls the object without arguments.\nCalls the object with only positional arguments.\nDeprecated name for Py::call.\nCalls a method on the object.\nCalls a method on the object with no arguments.\nCalls a method on the object with only positional …\nDeprecated name for Py::call_method.\nReturn the cause (either an exception instance, or None, …\nOld module which contained some implementation details of …\nClone the PyErr. This requires the GIL, which is why PyErr …\nMakes a clone of self.\nDetermines if self contains value.\nDefines conversions between Rust and Python types.\nDefines a new exception type.\nDeletes the indexth element of self.\nDeletes the slice from low to high from self.\nPrints a standard traceback to sys.stderr.\nComputes self / other.\nComputes divmod(self, other).\nDowncast this PyObject to a concrete Python type or …\nDowncast this PyObject to a concrete Python type or …\nCasts the PyObject to a concrete Python object type …\nCasts the PyObject to a concrete Python object type …\nDrops self and immediately decreases its reference count.\nException and warning types defined by Python.\nExtracts some type from the Python object.\nExtracts Self from the source PyObject.\nExtracts Self from the source PyObject.\nEquivalent to PyErr::take, but when no error is set:\nRaw FFI declarations for Python’s C API.\nComputes self // other.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nCreate borrow on a Bound\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nConstructs a new Bound<'py, PyAny> from a pointer by …\nCreate a Py<T> instance by creating a new reference from …\nConstructs a new Bound<'py, PyAny> from a pointer by …\nCreate a Py<T> instance by creating a new reference from …\nConstructs a new Bound<'py, PyAny> from a pointer by …\nCreate a Py<T> instance by creating a new reference from …\nConstructs a new Bound<'py, PyAny> from a pointer. Panics …\nCreate a Py<T> instance by taking ownership of the given …\nConstructs a new Bound<'py, PyAny> from a pointer. Returns …\nCreate a Py<T> instance by taking ownership of the given …\nConstructs a new Bound<'py, PyAny> from a pointer. Returns …\nCreate a Py<T> instance by taking ownership of the given …\nConstructs a new Borrowed<'a, 'py, PyAny> from a pointer. …\nConstructs a new Borrowed<'a, 'py, PyAny> from a pointer. …\nConstructs a new Borrowed<'a, 'py, PyAny> from a pointer. …\nConstructs a new PyErr from the given Python type and …\nDeprecated name for PyErr::from_type.\nCreates a new PyErr.\nDeprecated name for PyErr::from_value.\nGets the fully qualified name of the PyType.\nProvide an immutable borrow of the value T without …\nProvide an immutable borrow of the value T without …\nGets the list item at the specified index.\nGets the list item at the specified index. Undefined …\nGets the reference count of the ffi::PyObject pointer.\nTakes the slice self[low:high] and returns it as a new …\nReturns the type of this exception.\nDeprecated name for PyErr::get_type.\nRetrieves an attribute value.\nDefines a Rust type for an exception defined in Python …\nVariant of import_exception that does not emit code needed …\nReturns the first index i for which self[i] == value.\nInserts an item at the specified index.\nInterns text as a Python string and stores a reference to …\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nUpcast the target type of this smart pointer\nHelper to cast to Bound<'py, PyAny>, transferring …\nHelper to cast to Py<PyAny>, transferring ownership.\nTurns this smart pointer into an owned [Bound<'py, T>]\nSame as bind but takes ownership of self.\nConsumes this DowncastIntoError and returns the original …\nReturns an iterator of values in this set.\nReturns an iterator of values in this set.\nReturns an iterator of values in this set.\nReturns an iterator of values in this set.\nTurn this smart pointer into a strong reference pointer\nReturns an owned raw FFI pointer represented by self.\nReturns an owned raw FFI pointer represented by self.\nConverts a Bound instance to PyObject.\nConverts &Bound instance -> PyObject, increasing the …\nConverts Py instance -> PyObject.\nConverts a Py instance to PyObject. Consumes self without …\nReturns self cast as a PySequence.\nUpcast this Bound<PyClass> to its base type by value.\nConsumes self to take ownership of the exception value …\nReturns whether self and other point to the same object. …\nChecks if the list is empty.\nReturns true if the current exception is instance of T.\nDeprecated name for PyErr::is_instance.\nReturns true if the current exception is instance of T.\nReturns whether the object is considered to be None.\nChecks whether self is a subclass of other.\nChecks whether self is a subclass of type T.\nReturns whether the object is considered to be true.\nReturns an iterator over this list’s items.\nReturns the length of the list.\nIterates over a list while holding a critical section, …\nComputes self << other.\nPython major version (e.g. 3).\nFundamental properties of objects tied to the Python …\nSupport for the Python marshal format.\nReturns true if the current exception matches the …\nComputes self @ other.\nPython minor version (e.g. 11).\nGets the name of the module defining the PyType.\nComputes self * other.\nGets the name of the PyType.\nCreates a new PyErr of type T.\nCreates a new instance Bound<T> of a #[pyclass] on the …\nCreates a new instance Py<T> of a #[pyclass] on the Python …\nCreate a new PyDowncastError representing a failure to …\nCreate a new DowncastIntoError representing a failure to …\nCreates a new exception type with the given name and …\nDeprecated name for PyErr::new_type.\nRetrieves the next item from an iterator.\nGets whether an error is present in the Python interpreter…\nHelper to convert Rust panics to Python exceptions.\nPython patch version (e.g. 0).\nComputes self ** other % modulus (pow(self, other, modulus)…\nPyO3’s prelude.\nPrepares the use of Python in a free-threaded context.\nCalls sys.excepthook and then prints a standard traceback …\nCalls sys.excepthook and then prints a standard traceback …\nReturns the GIL token associated with this object.\nA convenient macro to execute a Python code snippet, with …\nContains types for working with Python objects that own …\nPyO3’s interior mutability primitive.\nPyClass and related traits.\nA proc macro used to expose Rust structs and fieldless …\nContains initialization utilities for #[pyclass].\nA proc macro used to expose Rust functions to Python.\nA proc macro used to expose methods to Python.\nA proc macro used to implement Python modules.\nGets the qualified name of the PyType.\nComputes self % other.\nWrites the error back to the Python interpreter’s global …\nReverses the list in-place. Equivalent to the Python …\nComputes self >> other.\nSends a value into a python generator. This is the …\nSet the cause associated with the exception, pass None to …\nSets the item at the specified index.\nAssigns the sequence seq to the slice of self from low to …\nSets an attribute value.\nSorts the list in-place. Equivalent to the Python …\nComputes self - other.\nPython version suffix, if applicable (e.g. a0).\nSynchronization mechanisms based on the Python GIL.\nTakes the current error from the Python interpreter’s …\nConverts the PyString into a Rust string, avoiding copying …\nConverts &Bound instance -> PyObject, increasing the …\nConverts Py instance -> PyObject.\nConverts Py instance -> PyObject.\nCreates a new owned Bound<T> from this borrowed reference …\nGets the Python string as a Rust UTF-8 string slice.\nConverts the PyString into a Rust string.\nReturn a new tuple containing the contents of the list; …\nReturns the traceback of this exception object.\nDeprecated name for PyErr::traceback.\nAttempts to immutably borrow the value T, returning an …\nAttempts to immutably borrow the value T, returning an …\nAttempts to mutably borrow the value T, returning an error …\nAttempts to mutably borrow the value T, returning an error …\nCreates a new Python bytearray object from another Python …\nCreates a new Python memoryview object from another Python …\nPython type object information\nVarious types defined by the Python interpreter such as int…\nTurn this smart pointer into an owned Py<T>\nRemoves the connection for this Bound<T> from the GIL, …\nReturns the value of this exception.\nDeprecated name for PyErr::value.\nIssues a warning message.\nDeprecated name for PyErr::warn.\nIssues a warning message, with more control over the …\nDeprecated name for PyErr::warn_explicit.\nExecutes the provided closure with an embedded Python …\nWraps a Rust function annotated with #[pyfunction].\nWraps a Rust function annotated with #[pyfunction].\nReturns a function that takes a Python instance and …\nReports the error as unraisable.\nDeprecated name for PyErr::write_unraisable.\nA boolean type.\nTrait implemented for possible element types of PyBuffer.\nRepresents the type of a Python buffer element.\nA float type.\nAllows access to the underlying buffer used by a python …\nLike std::cell::Cell, but only provides read-only access …\nA signed integer type.\nAn unknown type. This may occur when parsing has failed.\nAn unsigned integer type.\nGets the buffer memory as a slice.\nGets the buffer memory as a slice.\nGets the buffer memory as a slice.\nReturns a pointer to the current value.\nGets the buffer memory as a slice.\nGets the pointer to the start of the buffer memory.\nCopies the specified slice into the buffer. If the buffer …\nCopies the specified slice into the buffer. If the buffer …\nCopies the buffer elements to the specified slice. If the …\nCopies the buffer elements to the specified slice. If the …\nGets the number of dimensions.\nA NUL terminated string in struct module style syntax …\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nDetermines the ElementType from a Python struct module …\nGets the underlying buffer from the specified python …\nReturns a copy of the current value.\nDeprecated name for PyBuffer::get.\nGets a pointer to the specified item.\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nGets whether the buffer is contiguous in C-style order …\nGets whether the element specified in the format string is …\nGets whether the buffer is contiguous in Fortran-style …\nGets the total number of items.\nGets the size of a single element, in bytes. Important …\nitem_size() * item_count(). For contiguous arrays, this is …\nGets whether the underlying buffer is read-only.\nReleases the buffer object, freeing the reference to the …\nReturns an array of length dimensions. shape()[i] is the …\nReturns an array that holds, for each dimension, the …\nAn array of length ndim. If suboffsets[n] >= 0, the values …\nCopies the buffer elements to a newly allocated vector. If …\nCopies the buffer elements to a newly allocated vector. If …\nThe width of the signed integer in bytes.\nThe width of the unsigned integer in bytes.\nThe width of the float in bytes.\nThis trait marks types that can be used as arguments to …\nOld module which contained some implementation details of …\nOld module which contained some implementation details of …\nReturns a borrowed pointer to a Python object.\nThe type returned in the event of a conversion error.\nExtract a type from a Python object.\nExpected form of FromPyObject to be used in a future PyO3 …\nDefines a conversion from a Rust type to a Python object.\nDefines a conversion from a Rust type to a Python object, …\nConvenience methods for common usages of IntoPyObject. …\nThe smart pointer type to use.\nThe Python output type\nConversion trait that allows various objects to be …\nReturns the underlying FFI pointer as a borrowed pointer.\nExtracts Self from the bound smart pointer obj.\nExtracts Self from the bound smart pointer obj.\nConverts self into an owned Python object, dropping type …\nPerforms the conversion.\nConverts self into an owned Python object, dropping type …\nPerforms the conversion.\nConverts self into a Python object.\nConverts self into a Python object.\nRepresents Python’s ArithmeticError exception.\nRepresents Python’s AssertionError exception.\nRepresents Python’s AttributeError exception.\nRepresents Python’s BaseException exception.\nRepresents Python’s BaseExceptionGroup exception.\nRepresents Python’s BlockingIOError exception.\nRepresents Python’s BrokenPipeError exception.\nRepresents Python’s BufferError exception.\nRepresents Python’s BytesWarning exception.\nRepresents Python’s ChildProcessError exception.\nRepresents Python’s ConnectionAbortedError exception.\nRepresents Python’s ConnectionError exception.\nRepresents Python’s ConnectionRefusedError exception.\nRepresents Python’s ConnectionResetError exception.\nRepresents Python’s DeprecationWarning exception.\nRepresents Python’s EOFError exception.\nRepresents Python’s EncodingWarning exception.\nRepresents Python’s EnvironmentError exception.\nRepresents Python’s Exception exception.\nRepresents Python’s FileExistsError exception.\nRepresents Python’s FileNotFoundError exception.\nRepresents Python’s FloatingPointError exception.\nRepresents Python’s FutureWarning exception.\nRepresents Python’s GeneratorExit exception.\nRepresents Python’s IOError exception.\nRepresents Python’s ImportError exception.\nRepresents Python’s ImportWarning exception.\nRepresents Python’s IndexError exception.\nRepresents Python’s InterruptedError exception.\nRepresents Python’s IsADirectoryError exception.\nRepresents Python’s KeyError exception.\nRepresents Python’s KeyboardInterrupt exception.\nRepresents Python’s LookupError exception.\nRepresents Python’s MemoryError exception.\nRepresents Python’s ModuleNotFoundError exception.\nRepresents Python’s NameError exception.\nRepresents Python’s NotADirectoryError exception.\nRepresents Python’s NotImplementedError exception.\nRepresents Python’s OSError exception.\nRepresents Python’s OverflowError exception.\nRepresents Python’s PendingDeprecationWarning exception.\nRepresents Python’s PermissionError exception.\nRepresents Python’s ProcessLookupError exception.\nRepresents Python’s RecursionError exception.\nRepresents Python’s ReferenceError exception.\nRepresents Python’s ResourceWarning exception.\nRepresents Python’s RuntimeError exception.\nRepresents Python’s RuntimeWarning exception.\nRepresents Python’s StopAsyncIteration exception.\nRepresents Python’s StopIteration exception.\nRepresents Python’s SyntaxError exception.\nRepresents Python’s SyntaxWarning exception.\nRepresents Python’s SystemError exception.\nRepresents Python’s SystemExit exception.\nRepresents Python’s TimeoutError exception.\nRepresents Python’s TypeError exception.\nRepresents Python’s UnboundLocalError exception.\nRepresents Python’s UnicodeDecodeError exception.\nRepresents Python’s UnicodeEncodeError exception.\nRepresents Python’s UnicodeError exception.\nRepresents Python’s UnicodeTranslateError exception.\nRepresents Python’s UnicodeWarning exception.\nRepresents Python’s UserWarning exception.\nRepresents Python’s ValueError exception.\nRepresents Python’s Warning exception.\nRepresents Python’s ZeroDivisionError exception.\nExceptions defined in Python’s asyncio module.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCreates a Python UnicodeDecodeError.\nDeprecated name for PyUnicodeDecodeError::new.\nCreates a new PyErr of this type.\nCreates a new PyErr of this type.\nCreates a new PyErr of this type.\nCreates a new PyErr of this type.\nCreates a new PyErr of this type.\nCreates a new PyErr of this type.\nCreates a new PyErr of this type.\nCreates a new PyErr of this type.\nCreates a new PyErr of this type.\nCreates a new PyErr of this type.\nCreates a new PyErr of this type.\nCreates a new PyErr of this type.\nCreates a new PyErr of this type.\nCreates a new PyErr of this type.\nCreates a new PyErr of this type.\nCreates a new PyErr of this type.\nCreates a new PyErr of this type.\nCreates a new PyErr of this type.\nCreates a new PyErr of this type.\nCreates a new PyErr of this type.\nCreates a new PyErr of this type.\nCreates a new PyErr of this type.\nCreates a new PyErr of this type.\nCreates a new PyErr of this type.\nCreates a new PyErr of this type.\nCreates a new PyErr of this type.\nCreates a new PyErr of this type.\nCreates a new PyErr of this type.\nCreates a new PyErr of this type.\nCreates a new PyErr of this type.\nCreates a new PyErr of this type.\nCreates a new PyErr of this type.\nCreates a new PyErr of this type.\nCreates a new PyErr of this type.\nCreates a new PyErr of this type.\nCreates a new PyErr of this type.\nCreates a new PyErr of this type.\nCreates a new PyErr of this type.\nCreates a new PyErr of this type.\nCreates a new PyErr of this type.\nCreates a new PyErr of this type.\nCreates a new PyErr of this type.\nCreates a new PyErr of this type.\nCreates a new PyErr of this type.\nCreates a new PyErr of this type.\nCreates a new PyErr of this type.\nCreates a new PyErr of this type.\nCreates a new PyErr of this type.\nCreates a new PyErr of this type.\nCreates a new PyErr of this type.\nCreates a new PyErr of this type.\nCreates a new PyErr of this type.\nCreates a new PyErr of this type.\nCreates a new PyErr of this type.\nCreates a new PyErr of this type.\nCreates a new PyErr of this type.\nCreates a new PyErr of this type.\nCreates a new PyErr of this type.\nCreates a new PyErr of this type.\nCreates a new PyErr of this type.\nCreates a new PyErr of this type.\nCreates a new PyErr of this type.\nCreates a new PyErr of this type.\nCreates a new PyErr of this type.\nCreates a new PyErr of this type.\nCreates a new PyErr of this type.\nCreates a Python UnicodeDecodeError from a Rust UTF-8 …\nDeprecated name for PyUnicodeDecodeError::new_utf8.\nExceptions defined in Python’s socket module.\nA Rust type representing an exception defined in Python …\nA Rust type representing an exception defined in Python …\nA Rust type representing an exception defined in Python …\nA Rust type representing an exception defined in Python …\nA Rust type representing an exception defined in Python …\nA Rust type representing an exception defined in Python …\nA Rust type representing an exception defined in Python …\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCreates a new PyErr of this type.\nCreates a new PyErr of this type.\nCreates a new PyErr of this type.\nCreates a new PyErr of this type.\nCreates a new PyErr of this type.\nCreates a new PyErr of this type.\nCreates a new PyErr of this type.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nA Rust type representing an exception defined in Python …\nA Rust type representing an exception defined in Python …\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCreates a new PyErr of this type.\nCreates a new PyErr of this type.\nCreates a new PyErr of this type.\nA Rust type representing an exception defined in Python …\nNo value.\nNo value.\nMaximum number of dimensions\nbuilt-in ‘object’\nThis variant corresponds with METH_VARARGS or METH_NOARGS …\nThis variant corresponds with METH_FASTCALL.\nThis variant corresponds with METH_FASTCALL | METH_KEYWORDS…\nThis variant corresponds with METH_VARARGS | METH_KEYWORDS.\nThis variant corresponds with METH_METHOD | METH_FASTCALL …\nReturns a pointer to a PyDateTime_CAPI instance\nCheck if op is a PyDateTimeAPI.DateTimeType or subtype.\nCheck if op’s type is exactly PyDateTimeAPI.DateTimeType.\nRetrieve the fold component of a PyDateTime_DateTime. …\nRetrieve the hour component of a PyDateTime_DateTime. …\nRetrieve the microsecond component of a PyDateTime_DateTime…\nRetrieve the minute component of a PyDateTime_DateTime. …\nRetrieve the second component of a PyDateTime_DateTime. …\nRetrieve the tzinfo component of a PyDateTime_DateTime. …\nRetrieve the days component of a PyDateTime_Delta.\nRetrieve the seconds component of a PyDateTime_Delta.\nRetrieve the seconds component of a PyDateTime_Delta.\nStructure representing a datetime.date\nStructure representing a datetime.datetime.\nStructure representing a datetime.timedelta.\nRetrieve the day component of a PyDateTime_Date or …\nRetrieve the month component of a PyDateTime_Date or …\nRetrieve the year component of a PyDateTime_Date or …\nPopulates the PyDateTimeAPI object\nRetrieve the fold component of a PyDateTime_Time. Returns …\nRetrieve the hour component of a PyDateTime_Time. Returns …\nRetrieve the microsecond component of a PyDateTime_DateTime…\nRetrieve the minute component of a PyDateTime_Time. …\nRetrieve the second component of a PyDateTime_DateTime. …\nRetrieve the tzinfo component of a PyDateTime_Time. …\nStructure representing a datetime.time.\nType Check macros\nCheck if op’s type is exactly PyDateTimeAPI.DateType.\nCheck if op is a PyDateTimeAPI.DetaType or subtype.\nCheck if op’s type is exactly PyDateTimeAPI.DeltaType.\nRepresents the PyGetSetDef structure.\nMacro, trading safety for speed\nMacro, only to be used to fill in brand new lists\nRepresents the PyMemberDef structure.\nRepresents the PyMethodDef structure.\nFunction types used to implement Python callables.\nThis union is anonymous in CPython, so the name was given …\nbuilt-in ‘super’\nCheck if op is a PyDateTimeAPI.TZInfoType or subtype.\nCheck if op’s type is exactly PyDateTimeAPI.TZInfoType.\nCheck if op is a PyDateTimeAPI.TimeType or subtype.\nCheck if op’s type is exactly PyDateTimeAPI.TimeType.\nMacro, trading safety for speed\nMacro, only to be used to fill in brand new tuples\nbuilt-in ‘type’\nSet if the type allows subclassing\nObjects support garbage collection (see objimp.h)\nSet if the type implements the vectorcall protocol (PEP …\nSet if the type object is dynamically allocated\nSet if the type is ‘ready’ – fully initialized\nSet while the type is being ‘readied’, to prevent …\nSome value of type T.\nSome value of type T.\nThis variant corresponds with METH_FASTCALL.\nThis variant corresponds with METH_FASTCALL | METH_KEYWORDS…\nStructure representing a datetime.datetime without a tzinfo…\nStructure representing a datetime.time without a tzinfo …\nGet the frame evaluation function.\nSet the frame evaluation function.\nGet the ascii field of the PyASCIIObject state bitfield.\nThis is a helper macro to create a &'static CStr.\nGet the compact field of the PyASCIIObject state bitfield.\nC API Compatibility Shims\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nGet the interned field of the PyASCIIObject state bitfield.\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nGet the kind field of the PyASCIIObject state bitfield.\nOwned reference\nSet the ascii flag of the PyASCIIObject state bitfield.\nSet the compact flag of the PyASCIIObject state bitfield.\nSet the interned field of the PyASCIIObject state bitfield.\nSet the kind field of the PyASCIIObject state bitfield.\nA bit field with various properties.\nSafety\nSafety\nRepresents the PyMemberDef structure.\nGets the Python builtin value Ellipsis, or ....\nGets the Python builtin value None.\nGets the Python builtin value NotImplemented.\nA marker token that represents holding the GIL.\nTypes that are safe to access while the GIL is not held.\nTemporarily releases the GIL, thus allowing other Python …\nUnsafely creates a Python token with an unbounded lifetime.\nLets the Python interpreter check and handle any pending …\nEvaluates a Python expression in the given context and …\nDeprecated name for Python::eval.\nReturns the argument unchanged.\nGets the Python type object for type T.\nDeprecated name for Python::get_type.\nImports the Python module with the specified name.\nDeprecated name for Python::import.\nCalls U::from(self).\nExecutes one or more Python statements in the given …\nDeprecated name for Python::run.\nGets the running Python interpreter version as a string.\nGets the running Python interpreter version as a struct …\nAcquires the global interpreter lock, allowing access to …\nLike Python::with_gil except Python interpreter state …\nThe current version of the marshal binary format.\nSerialize an object to bytes using the Python built-in …\nDeprecated form of dumps.\nDeserialize an object from bytes using the Python built-in …\nDeprecated form of loads.\nThe exception raised when Rust code called from Python …\nReturns the argument unchanged.\nCalls U::from(self).\nCreates a new PyErr of this type.\nA borrowed equivalent to Bound.\nA GIL-attached equivalent to Py<T>.\nContains the error value\nContains the success value\nA GIL-independent reference to an object allocated on the …\nThis trait represents the Python APIs which are usable on …\nImplementation of functionality for PyBool.\nImplementation of functionality for PyByteArray.\nImplementation of functionality for PyBytes.\nImplementation of functionality for PyCapsule.\nImplementation of functionality for PyComplex.\nImplementation of functionality for PyDict.\nRepresents a Python exception.\nImplementation of functionality for PyFloat.\nImplementation of functionality for PyFrozenSet.\nImplementation of functionality for PyList.\nImplementation of functionality for PyMapping.\nImplementation of functionality for PyMappingProxy.\nImplementation of functionality for PyModule.\nA commonly-used alias for Py<PyAny>.\nRepresents the result of a Python call.\nImplementation of functionality for PySequence.\nImplementation of functionality for PySet.\nImplementation of functionality for PySlice.\nImplementation of functionality for PyString.\nImplementation of functionality for PyTraceback.\nImplementation of functionality for PyTuple.\nImplementation of functionality for PyType.\nImplementation of functionality for PyWeakref.\nComputes the absolute of self.\nReturns |self|.\nComputes self + other.\nAdds an attribute to the module.\nAdds an element to the set.\nAdds a new class to the module.\nAdd a function to a module.\nAdds a submodule to a module.\nAdds a function or a (sub)module to a module, using the …\nAppends an item to the list.\nExtracts a slice of the ByteArray’s entire buffer.\nGets the Python string as a byte slice.\nExtracts a mutable slice of the ByteArray’s entire …\nReturns self cast as a PyMapping.\nReturns self cast as a PyMapping.\nReturns self cast as a PySequence.\nReturns self cast as a PySequence.\nReturns self as a slice of objects.\nRetrieves the underlying FFI pointer associated with this …\nReturn Python bases\nComputes self & other.\nComputes ~self.\nComputes self | other.\nComputes self ^ other.\nCalls the object.\nCalls the object without arguments.\nCalls the object with only positional arguments.\nCalls a method on the object.\nCalls a method on the object without arguments.\nCalls a method on the object with only positional …\nEmpties an existing dictionary of all key-value pairs.\nRemoves all elements from the set.\nReturns an Ordering between self and other.\nReturns the concatenation of self and other.\nDetermines if self contains value.\nDetermines if the dictionary contains the specified key.\nDetermines if the set contains the specified key.\nDetermines if self contains value.\nDetermines if the mapping contains the specified key.\nDetermines if self contains value.\nDetermines if the set contains the specified key.\nDetermines if self contains value.\nGets the current context stored in the capsule. If there …\nReturns a new dictionary that contains the same key-value …\nReturns the number of occurrences of value in self, that …\nGets the start of the buffer containing the contents of …\nObtains the raw data backing the Python string.\nDeletes an item from the collection.\nDeletes an item.\nDeletes the indexth element of self.\nDeletes the item with key key.\nDeletes the ith element of self.\nDeletes the slice from low to high from self.\nDeletes the slice from i1 to i2 from self.\nDeletes an attribute.\nReturns the module’s __dict__ attribute, which contains …\nReturns the list of attributes of this object.\nRemoves the element from the set if it is present.\nComputes self / other.\nComputes divmod(self, other).\nDowncast this PyAny to a concrete Python type or pyclass.\nDowncast this PyAny to a concrete Python type or pyclass …\nLike downcast but takes ownership of self.\nLike downcast_exact but takes ownership of self.\nLike downcast_unchecked but takes ownership of self.\nConverts this PyAny to a concrete Python type without …\nEncodes this string as a Python bytes object, using UTF-8 …\nTests whether this object is equal to another.\nExtracts some type from the Python object.\nReturns the filename (the __file__ attribute) of the …\nComputes self // other.\nFormats the traceback as a string.\nGets the fully qualified name of the PyType.\nTests whether this object is greater than or equal to …\nLike get_item, but returns a borrowed object, which is a …\nLike get_item_unchecked, but returns a borrowed object, …\nGets an item from the collection.\nGets an item from the dictionary.\nGets the list item at the specified index.\nGets the item in self with key key.\nReturns the indexth element of the Sequence.\nGets the tuple item at the specified index.\nGets the list item at the specified index. Undefined …\nGets the tuple item at the specified index. Undefined …\nReturns the reference count for the Python object.\nTakes the slice self[low:high] and returns it as a new …\nReturns the slice of sequence object between begin and end.\nTakes the slice self[low:high] and returns it as a new …\nReturns the Python type object for this object’s type.\nReturns the Python type pointer for this object.\nRetrieves an attribute value.\nRetrieves an attribute value optionally.\nDeclare whether or not this module supports running with …\nTests whether this object is greater than another.\nDetermines whether this object has the given attribute.\nRetrieves the hash code of self.\nReturns the imaginary part of the complex number.\nConcatenates self and other, in place if possible.\nRepeats the sequence object count times and updates self, …\nReturns the first index i for which self[i] == value.\nReturns the index (the __all__ attribute) of the module, …\nReturns the first index i for which self[i] == value.\nReturns the first index i for which self[i] == value.\nRetrieves the start, stop, and step indices from the slice …\nInserts an item at the specified index.\nReturns self cast as a PyMapping.\nReturns self cast as a PySequence.\nReturns self cast as a PySequence.\nReturns whether self and other point to the same object. …\nDetermines whether this object appears callable.\nReturns whether the object is Ellipsis, e.g. ....\nReturns true if the sequence or mapping has a length of 0.\nChecks if the bytearray is empty.\nChecks if the dict is empty, i.e. len(self) == 0.\nChecks if the list is empty.\nReturns whether the mapping is empty.\nChecks if the mappingproxy is empty, i.e. len(self) == 0.\nReturns whether the sequence is empty.\nChecks if the tuple is empty.\nChecks whether this object is an instance of exactly type …\nChecks whether this object is an instance of exactly type T…\nChecks whether this object is an instance of type ty.\nChecks whether this object is an instance of type T.\nReturns whether the object is considered to be None.\nChecks whether self is a subclass of other.\nChecks whether self is a subclass of type T.\nGets whether this boolean is true.\nReturns whether the object is considered to be true.\nChecks if this is a valid capsule.\nReturns a list of dict items.\nReturns a list of all (key, value) pairs in the mapping.\nReturns a list of tuples of all (key, value) pairs in the …\nTakes an object and returns an iterator for it.\nReturns an iterator of (key, value) pairs in this …\nReturns an iterator of values in this set.\nReturns an iterator over this list’s items.\nReturns an iterator of values in this set.\nReturns an iterator over the tuple items.\nLike iter, but produces an iterator which returns borrowed …\nReturns a list of dict keys.\nReturns a list containing all keys in the mapping.\nReturns a list containing all keys in the mapping.\nTests whether this object is less than or equal to another.\nReturns the length of the sequence or mapping.\nGets the length of the bytearray.\nReturn the number of items in the dictionary.\nReturns the number of items in the set.\nReturns the length of the list.\nReturns the number of objects in the mapping.\nReturns the number of objects in sequence.\nReturns the number of items in the set.\nGets the length of the tuple.\nIterates over the contents of this dictionary while …\nIterates over the contents of this list while holding a …\nComputes self << other.\nTests whether this object is less than another.\nComputes self @ other.\nGets the name of the module defining the PyType.\nReturn the method resolution order for this type.\nComputes self * other.\nRetrieves the name of this capsule, if set.\nReturns the name (the __name__ attribute) of the module.\nGets the name of the PyType. Equivalent to self.__name__ …\nTests whether this object is not equal to another.\nComputes the negative of self.\nGets the raw c_void pointer to the value in this capsule.\nRemoves and returns an arbitrary element from the set.\nComputes the positive of self.\nComputes self ** other % modulus (pow(self, other, modulus)…\nReturns self raised to the power of other.\nReturn a proxy object that delegates method calls to a …\nA proc macro used to expose Rust functions to Python.\nA proc macro used to expose methods to Python.\nA proc macro used to implement Python modules.\nGets the qualified name of the PyType. Equivalent to …\nReturns the real part of the complex number.\nObtains a reference to the value of this capsule.\nComputes self % other.\nReturns the result of repeating a sequence object count …\nComputes the “repr” representation of self.\nResizes the bytearray object to the new length len.\nReverses the list in-place. Equivalent to the Python …\nTests whether two Python objects obey a given CompareOp.\nComputes self >> other.\nSets the context pointer in the capsule.\nSets a collection item value.\nSets an item value.\nSets the item at the specified index.\nSets the item in self with key key.\nAssigns object item to the ith element of self.\nAssigns the sequence seq to the slice of self from low to …\nAssigns the sequence v to the slice of self from i1 to i2.\nSets an attribute value.\nSorts the list in-place. Equivalent to the Python …\nComputes the “str” representation of self.\nComputes self - other.\nConverts the PyString into a Rust string, avoiding copying …\nReturns a fresh list based on the Sequence.\nReturn a new list containing the contents of this tuple; …\nGets the Python string as a Rust UTF-8 string slice.\nConverts the PyString into a Rust string.\nReturn a new tuple containing the contents of the list; …\nReturns a fresh tuple based on the Sequence.\nCopies the contents of the bytearray to a Rust vector.\nTakes an object and returns an iterator for it. Returns an …\nTakes an object and returns an iterator for it. Returns an …\nUpdate this dictionary with the key/value pairs from …\nAdd key/value pairs from another dictionary to this one …\nUpgrade the weakref to a Bound PyAny reference to the …\nGets the value of this float.\nReturns a list of dict values.\nReturns a list containing all values in the mapping.\nReturns a list containing all values in the mapping.\nWraps a Rust function annotated with #[pyfunction].\nWraps a Rust function annotated with #[pyfunction].\nA wrapper around [u8] where the storage is either owned by …\nA wrapper around str where the storage is owned by a …\nReturns the argument unchanged.\nReturns the argument unchanged.\nCalls U::from(self).\nCalls U::from(self).\nAn error type returned by Bound::try_borrow.\nAn error type returned by Bound::try_borrow_mut.\nA wrapper type for an immutably borrowed value from a […\nA wrapper type for a mutably borrowed value from a […\nReturns the raw FFI pointer represented by self.\nReturns the raw FFI pointer represented by self.\nBorrows a shared reference to PyRef<T::BaseType>.\nBorrows a mutable reference to PyRefMut<T::BaseType>.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nReturns an owned raw FFI pointer represented by self.\nReturns an owned raw FFI pointer represented by self.\nGets a PyRef<T::BaseType>.\nGets a PyRef<T::BaseType>.\nReturns a Python token that is bound to the lifetime of …\nReturns a Python token that is bound to the lifetime of …\nOperators for the __richcmp__ method\nThe equality operator.\nWhether the pyclass is frozen.\nThe greater than or equal to operator.\nThe greater than operator.\nThe less than or equal to operator.\nThe less than operator.\nThe not equal to operator.\nTypes that can be used as Python classes.\nError returned by a __traverse__ visitor implementation.\nObject visitor for GC.\nVisit obj.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nConversion from the C enum.\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nReturns if a Rust std::cmp::Ordering matches this ordering …\nInitializer for our #[pyclass] system.\nConstructs a new initializer from an initializer for the …\nReturns the argument unchanged.\nCalls U::from(self).\nConstructs a new initializer from value T and base class’…\nA write-once primitive similar to std::sync::OnceLock<T>.\nValue with concurrent access protected by the GIL.\nExtension trait for std::sync::Mutex which helps avoid …\nHelper trait for Once to help avoid deadlocking when using …\nExtension trait for std::sync::OnceLock which helps avoid …\nSimilar to call_once_force, but releases the Python GIL …\nSimilar to call_once, but releases the Python GIL …\nCreates a new cell that contains a new Python reference to …\nReturns the argument unchanged.\nReturns the argument unchanged.\nGain access to the inner value by giving proof of having …\nGet a reference to the contained value, or None if the …\nGet the contents of the cell mutably. This is only …\nGet a reference to the contained value, initializing it if …\nInitializes this OnceLock with the given closure if it has …\nLike get_or_init, but accepts a fallible initialization …\nGet a reference to the contained Python type, initializing …\nCalls U::from(self).\nCalls U::from(self).\nConsumes the cell, returning the wrapped value.\nLock this Mutex in a manner that cannot deadlock with the …\nPlace the given value under the protection of the GIL.\nCreate a GILOnceCell which does not yet contain a value.\nSet the value in the cell.\nTakes the value out of the cell, moving it back to an …\nGain access to the inner value by giving proof that …\nExecutes a closure with a Python critical section held on …\nExecutes a closure with a Python critical section held on …\nModule name, if any.\nClass name.\nName of self. This is used in error messages, for example.\nT: PyLayout<U> represents that T is a concrete …\nT: PySizedLayout<U> represents that T is not a instance of …\nImplemented by types which can be used as a concrete …\nPython type information. All Python native types (e.g., …\nChecks if object is an instance of this type.\nDeprecated name for PyTypeInfo::is_exact_type_of.\nChecks if object is an instance of this type or a subclass …\nDeprecated name for PyTypeInfo::is_type_of.\nChecks if object is an instance of Self, which may include …\nReturns the safe abstraction over the type object.\nDeprecated name for PyTypeInfo::type_object.\nReturns the PyTypeObject instance for this type.\nPython objects that have a base type.\nConversion trait that allows a sequence of tuples to be …\nRepresents any Python object.\nThis trait represents the Python APIs which are usable on …\nRepresents a Python bool.\nImplementation of functionality for PyBool.\nRepresents a Python bytearray.\nImplementation of functionality for PyByteArray.\nRepresents a Python bytes object.\nImplementation of functionality for PyBytes.\nRepresents a builtin Python function object.\nRepresents a Python Capsule as described in Capsules:\nImplementation of functionality for PyCapsule.\nRepresents a Python code object.\nRepresents a Python complex object.\nImplementation of functionality for PyComplex.\nBindings around datetime.date.\nTrait for accessing the date components of a struct …\nBindings for datetime.datetime.\nBindings for datetime.timedelta.\nTrait for accessing the components of a struct containing …\nRepresents a Python dict.\nRepresents a Python dict_items.\nRepresents a Python dict_keys.\nImplementation of functionality for PyDict.\nRepresents a Python dict_values.\nRepresents the Python Ellipsis object.\nRepresents a Python float object.\nImplementation of functionality for PyFloat.\nRepresents a Python frame.\nRepresents a Python frozenset.\nAllows building a Python frozenset one item at a time\nImplementation of functionality for PyFrozenSet.\nRepresents a Python function object.\nRepresents a Python types.GenericAlias object.\nRepresents a Python int object.\nA Python iterator object.\nRepresents a Python list.\nImplementation of functionality for PyList.\nDeprecated alias for PyInt.\nRepresents a reference to a Python object supporting the …\nImplementation of functionality for PyMapping.\nRepresents a Python mappingproxy.\nRepresents a Python memoryview.\nRepresents a Python module object.\nImplementation of functionality for PyModule.\nRepresents the Python None object.\nRepresents the Python NotImplemented object.\nRepresents a reference to a Python object supporting the …\nImplementation of functionality for PySequence.\nRepresents a Python set.\nImplementation of functionality for PySet.\nRepresents a Python slice.\nReturn value from PySliceMethods::indices.\nImplementation of functionality for PySlice.\nRepresents a Python string (a Unicode string object).\nRepresents raw data backing a Python str.\nImplementation of functionality for PyString.\nRepresents a Python super object.\nBindings for datetime.time.\nTrait for accessing the time components of a struct …\nRepresents a Python traceback.\nImplementation of functionality for PyTraceback.\nRepresents a Python tuple object.\nImplementation of functionality for PyTuple.\nRepresents a reference to a Python type object.\nImplementation of functionality for PyType.\nBindings for datetime.tzinfo.\nTrait for accessing the components of a struct containing …\nDeprecated alias for PyString.\nRepresents any Python weakref reference.\nImplementation of functionality for PyWeakref.\nRepresents any Python weakref Proxy type.\nRepresents a Python weakref.ReferenceType.\nUCS1 representation.\nUCS2 representation.\nUCS4 representation.\nComputes the absolute of self.\nReturns |self|.\nComputes self + other.\nAdds an attribute to the module.\nAdds an element to the set.\nAdds an element to the set.\nAdds a new class to the module.\nAdd a function to a module.\nAdds a submodule to a module.\nAdds a function or a (sub)module to a module, using the …\nAppends an item to the list.\nExtracts a slice of the ByteArray’s entire buffer.\nGets the Python string as a byte slice.\nObtain the raw bytes backing this instance as a u8 slice.\nExtracts a mutable slice of the ByteArray’s entire …\nReturns self cast as a PyMapping.\nReturns self cast as a PySequence.\nReturns self cast as a PySequence.\nReturns self as a slice of objects.\nRetrieves the underlying FFI pointer associated with this …\nReturn Python bases\nComputes self & other.\nComputes ~self.\nComputes self | other.\nComputes self ^ other.\nDeprecated name for PyBytes::from_ptr.\nCalls the object.\nCalls the object without arguments.\nCalls the object with only positional arguments.\nCalls a method on the object.\nCalls a method on the object without arguments.\nCalls a method on the object with only positional …\nEmpties an existing dictionary of all key-value pairs.\nRemoves all elements from the set.\nReturns an Ordering between self and other.\nReturns the concatenation of self and other.\nDetermines if self contains value.\nDetermines if the dictionary contains the specified key.\nDetermines if the set contains the specified key.\nDetermines if self contains value.\nDetermines if the mapping contains the specified key.\nDetermines if self contains value.\nDetermines if the set contains the specified key.\nDetermines if self contains value.\nGets the current context stored in the capsule. If there …\nReturns a new dictionary that contains the same key-value …\nReturns the number of occurrences of value in self, that …\nGets the start of the buffer containing the contents of …\nObtains the raw data backing the Python string.\nDeletes an item from the collection.\nDeletes an item.\nDeletes the indexth element of self.\nDeletes the item with key key.\nDeletes the ith element of self.\nDeletes the slice from low to high from self.\nDeletes the slice from i1 to i2 from self.\nDeletes an attribute.\nReturns the module’s __dict__ attribute, which contains …\nReturns the list of attributes of this object.\nRemoves the element from the set if it is present.\nComputes self / other.\nComputes divmod(self, other).\nDowncast this PyAny to a concrete Python type or pyclass.\nDowncast this PyAny to a concrete Python type or pyclass …\nLike downcast but takes ownership of self.\nLike downcast_exact but takes ownership of self.\nLike downcast_unchecked but takes ownership of self.\nConverts this PyAny to a concrete Python type without …\nCreates a new empty frozen set\nConstructs a new empty list.\nCreates a new empty set.\nConstructs an empty tuple (on the Python side, a singleton …\nDeprecated name for PyFrozenSet::empty.\nDeprecated name for PyList::empty.\nDeprecated name for PySet::empty.\nDeprecated name for PyTuple::empty.\nEncodes this string as a Python bytes object, using UTF-8 …\nTests whether this object is equal to another.\nExtracts some type from the Python object.\nReturns the filename (the __file__ attribute) of the …\nFinish building the set and take ownership of its current …\nDeprecated name for PyFrozenSetBuilder::finalize.\nComputes self // other.\nFormats the traceback as a string.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nCreates a new Python bytearray object from another Python …\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nCreates a new Python memoryview object from another Python …\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nConverts the given FFI pointer into Bound<PyType>, to use …\nDeprecated name for PyByteArray::from.\nDeprecated name for PyMemoryView::from.\nDeprecated name for PyIterator::from_object.\nCreates and loads a module named module_name, containing …\nDeprecated name for PyModule::from_code.\nCreates a new PyComplex from the given real and imaginary …\nDeprecated name for PyComplex::from_doubles.\nBuilds an iterator for an iterable Python object; the …\nAttempts to create a Python string from a Python …\nDeprecated name for PyString::from_object.\nCreates a new Python byte string object from a raw pointer …\nCreates a new dictionary from the sequence given.\nDeprecated name for PyDict::from_sequence.\nConstruct a datetime.date from a POSIX timestamp\nConstruct a datetime object from a POSIX timestamp\nDeprecated name for PyDate::from_timestamp.\nDeprecated name for PyDateTime::from_timestamp.\nConstructs a new full slice that is equivalent to ::.\nDeprecated name for PySlice::full.\nGets the fully qualified name of the PyType.\nTests whether this object is greater than or equal to …\nReturns the Ellipsis object.\nReturns the None object.\nReturns the NotImplemented object.\nLike get_item, but returns a borrowed object, which is a …\nLike get_item_unchecked, but returns a borrowed object, …\nDeprecated name for PyEllipsis::get.\nDeprecated name for PyNone::get.\nDeprecated name for PyNotImplemented::get.\nReturns the day, as an int from 1 through 31.\nReturns the number of days, as an int from -999999999 to …\nReturns whether this date is the later of two moments with …\nReturns the hour, as an int from 0 through 23.\nGets an item from the collection.\nGets an item from the dictionary.\nGets the list item at the specified index.\nGets the item in self with key key.\nReturns the indexth element of the Sequence.\nGets the tuple item at the specified index.\nGets the list item at the specified index. Undefined …\nGets the tuple item at the specified index. Undefined …\nReturns the microsecond, as an int from 0 through 999999.\nReturns the number of microseconds, as an int from 0 …\nReturns the minute, as an int from 0 through 59.\nReturns the month, as an int from 1 through 12.\nRetrieve to a Bound object pointed to by the weakref.\nRetrieve to a Bound object pointed to by the weakref.\nRetrieve to a Bound object pointed to by the weakref.\nReturns the reference count for the Python object.\nReturns the second, as an int from 0 through 59.\nReturns the number of seconds, as an int from 0 through …\nTakes the slice self[low:high] and returns it as a new …\nReturns the slice of sequence object between begin and end.\nTakes the slice self[low:high] and returns it as a new …\nReturns the Python type object for this object’s type.\nReturns the Python type pointer for this object.\nReturns the tzinfo (which may be None).\nDeprecated name for PyTzInfoAccess::get_tzinfo.\nDeprecated name for PyTzInfoAccess::get_tzinfo.\nReturns the year, as a positive int.\nRetrieves an attribute value.\nRetrieves an attribute value optionally.\nDeclare whether or not this module supports running with …\nTests whether this object is greater than another.\nDetermines whether this object has the given attribute.\nRetrieves the hash code of self.\nReturns the imaginary part of the complex number.\nImports an existing capsule.\nImports the Python module with the specified name.\nDeprecated name for PyModule::import.\nConcatenates self and other, in place if possible.\nRepeats the sequence object count times and updates self, …\nReturns the first index i for which self[i] == value.\nReturns the index (the __all__ attribute) of the module, …\nReturns the first index i for which self[i] == value.\nReturns the first index i for which self[i] == value.\nRetrieves the start, stop, and step indices from the slice …\nInserts an item at the specified index.\nIntern the given string\nDeprecated name for PyString::intern.\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nReturns self cast as a PyMapping.\nConverts self into a PyDict object pointer. Whether …\nDeprecated name for IntoPyDict::into_py_dict.\nDeprecated name for IntoPyDict::into_py_dict.\nReturns self cast as a PySequence.\nReturns self cast as a PySequence.\nReturns whether self and other point to the same object. …\nDetermines whether this object appears callable.\nReturns whether the object is Ellipsis, e.g. ....\nReturns true if the sequence or mapping has a length of 0.\nChecks if the bytearray is empty.\nChecks if the dict is empty, i.e. len(self) == 0.\nChecks if the list is empty.\nReturns whether the mapping is empty.\nReturns whether the sequence is empty.\nChecks if the tuple is empty.\nChecks if set is empty.\nChecks if set is empty.\nChecks if set is empty.\nChecks if set is empty.\nChecks if set is empty.\nChecks if set is empty.\nChecks whether this object is an instance of exactly type …\nChecks whether this object is an instance of exactly type T…\nChecks whether this object is an instance of type ty.\nChecks whether this object is an instance of type T.\nReturns whether the object is considered to be None.\nChecks whether self is a subclass of other.\nChecks whether self is a subclass of type T.\nGets whether this boolean is true.\nReturns whether the object is considered to be true.\nChecks if this is a valid capsule.\nReturns a list of dict items.\nReturns a list of all (key, value) pairs in the mapping.\nIteration over Python collections.\nTakes an object and returns an iterator for it.\nReturns an iterator of (key, value) pairs in this …\nReturns an iterator of values in this set.\nReturns an iterator over this list’s items.\nReturns an iterator of values in this set.\nReturns an iterator over the tuple items.\nLike iter, but produces an iterator which returns borrowed …\nReturns a list of dict keys.\nReturns a list containing all keys in the mapping.\nTests whether this object is less than or equal to another.\nReturns the length of the sequence or mapping.\nGets the length of the bytearray.\nReturn the number of items in the dictionary.\nReturns the number of items in the set.\nReturns the length of the list.\nReturns the number of objects in the mapping.\nReturns the number of objects in sequence.\nReturns the number of items in the set.\nGets the length of the tuple.\nIterates over the contents of this dictionary while …\nIterates over the contents of this list while holding a …\nComputes self << other.\nTests whether this object is less than another.\nComputes self @ other.\nGets the name of the module defining the PyType.\nReturn the method resolution order for this type.\nComputes self * other.\nRetrieves the name of this capsule, if set.\nReturns the name (the __name__ attribute) of the module.\nGets the name of the PyType. Equivalent to self.__name__ …\nTests whether this object is not equal to another.\nComputes the negative of self.\nDepending on val, returns true or false.\nCreates a new Python bytearray object.\nCreates a new Python bytestring object. The bytestring is …\nConstructs a new capsule whose contents are value, …\nCreates a new datetime.date.\nCreates a new datetime.datetime object.\nCreates a new datetime.time object.\nCreates a new timedelta.\nCreates a new empty dictionary.\nCreates a new Python float object.\nCreate a new FrozenSetBuilder. Since this allocates a …\nCreates a new frozenset.\nCreate a new built-in function which takes no arguments.\nCreates a new Python GenericAlias object.\nConstructs a new list with the given elements.\nCreates a mappingproxy from an object.\nCreates a new module object with the __name__ attribute …\nCreates a new Python int object.\nConstructs a new super object. More read about super …\nCreates a new set with elements from the given slice.\nConstructs a new slice with the given elements.\nCreates a new Python string object.\nConstructs a new tuple with the given elements.\nCreates a new type object.\nConstructs a new Weak Reference (weakref.proxy/…\nConstructs a new Weak Reference (weakref.ref/…\nCreates a new PySliceIndices.\nDeprecated name for PyBool::new.\nDeprecated name for PyByteArray::new.\nDeprecated name for PyBytes::new.\nDeprecated name for PyCapsule::new.\nDeprecated name for PyDate::new.\nDeprecated name for PyDateTime::new.\nDeprecated name for PyTime::new.\nDeprecated name for PyDelta::new.\nDeprecated name for PyDict::new.\nDeprecated name for PyFloat::new.\nDeprecated name for PyFrozenSet::new.\nDeprecated name for PyCFunction::new.\nDeprecated name for PyList::new.\nDeprecated name for PyModule::new.\nDeprecated name for PySuper::new.\nDeprecated name for PySet::new.\nDeprecated name for PySlice::new.\nDeprecated name for PyString::new.\nDeprecated name for PyTuple::new.\nDeprecated name for PyType::new.\nDeprecated name for PyWeakrefProxy::new.\nDeprecated name for PyWeakrefReference::new.\nDeprecated name for PyByteArray::new_with.\nDeprecated name for PyBytes::new_with.\nDeprecated name for PyWeakrefProxy::new_with.\nDeprecated name for PyWeakrefReference::new_with.\nDeprecated name for PyCapsule::new_with_destructor.\nDeprecated name for PyDateTime::new_with_fold.\nDeprecated name for PyTime::new_with_fold.\nCreate a new function from a closure.\nDeprecated name for PyCFunction::new_closure.\nCreates a new Python bytearray object with an init closure …\nCreates a new Python bytes object with an init closure to …\nConstructs a new Weak Reference (weakref.proxy/…\nConstructs a new Weak Reference (weakref.ref/…\nConstructs a new capsule whose contents are value, …\nAlternate constructor that takes a fold parameter. A true …\nAlternate constructor that takes a fold argument. See …\nCreate a new built-in function with keywords (*args and/or …\nDeprecated name for PyCFunction::new_with_keywords.\nGets the raw c_void pointer to the value in this capsule.\nRemoves and returns an arbitrary element from the set.\nComputes the positive of self.\nComputes self ** other % modulus (pow(self, other, modulus)…\nReturns self raised to the power of other.\nReturn a proxy object that delegates method calls to a …\nGets the qualified name of the PyType. Equivalent to …\nReturns the real part of the complex number.\nObtains a reference to the value of this capsule.\nRegister a pyclass as a subclass of collections.abc.Mapping…\nRegister a pyclass as a subclass of …\nComputes self % other.\nReturns the result of repeating a sequence object count …\nComputes the “repr” representation of self.\nResizes the bytearray object to the new length len.\nReverses the list in-place. Equivalent to the Python …\nTests whether two Python objects obey a given CompareOp.\nComputes self >> other.\nSets the context pointer in the capsule.\nSets a collection item value.\nSets an item value.\nSets the item at the specified index.\nSets the item in self with key key.\nAssigns object item to the ith element of self.\nAssigns the sequence seq to the slice of self from low to …\nAssigns the sequence v to the slice of self from i1 to i2.\nSets an attribute value.\nThe length of the slice calculated from the original input …\nSorts the list in-place. Equivalent to the Python …\nStart of the slice\nIncrement to use when iterating the slice from start to …\nEnd of the slice\nComputes the “str” representation of self.\nComputes self - other.\nEquivalent to datetime.timezone.utc\nDeprecated name for timezone_utc.\nConverts the PyString into a Rust string, avoiding copying …\nReturns a fresh list based on the Sequence.\nReturn a new list containing the contents of this tuple; …\nGets the Python string as a Rust UTF-8 string slice.\nConvert the raw data to a Rust string.\nConverts the PyString into a Rust string.\nConvert the raw data to a Rust string, possibly with data …\nReturn a new tuple containing the contents of the list; …\nReturns a fresh tuple based on the Sequence.\nCopies the contents of the bytearray to a Rust vector.\nTakes an object and returns an iterator for it. Returns an …\nUpdate this dictionary with the key/value pairs from …\nAdd key/value pairs from another dictionary to this one …\nUpgrade the weakref to a Bound PyAny reference to the …\nUpgrade the weakref to a direct Bound object reference.\nUpgrade the weakref to a direct Bound object reference.\nUpgrade the weakref to a direct Bound object reference.\nUpgrade the weakref to a exact direct Bound object …\nUpgrade the weakref to a exact direct Bound object …\nUpgrade the weakref to a exact direct Bound object …\nUpgrade the weakref to a direct Bound object reference …\nUpgrade the weakref to a direct Bound object reference …\nUpgrade the weakref to a direct Bound object reference …\nGets the value of this float.\nSize in bytes of each value/item in the underlying slice.\nReturns a list of dict values.\nReturns a list containing all values in the mapping.\nUsed by PyTuple::iter_borrowed().\nPyO3 implementation of an iterator for a Python dict …\nPyO3 implementation of an iterator for a Python frozenset …\nUsed by PyList::iter().\nPyO3 implementation of an iterator for a Python set object.\nUsed by PyTuple::into_iter().\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nAdvances the iterator and returns the next value.\nAdvances the iterator and returns the next value.")