Module pyo3::buffer

source ·
Available on non-Py_LIMITED_API or Py_3_11 only.
Expand description

PyBuffer implementation

Macros§

Structs§

  • Allows access to the underlying buffer used by a python object such as bytes, bytearray or array.array.
  • Like std::cell::Cell, but only provides read-only access to the data.

Enums§

  • Represents the type of a Python buffer element.

Traits§

  • Trait implemented for possible element types of PyBuffer.

Functions§

⚠️ Internal Docs ⚠️ Not Public API 👉 Official Docs Here