Expand description
PyBuffer implementation
Structs§
- PyBuffer
- A typed form of
PyUntypedBuffer. - PyBuffer
Request - Type-safe buffer request. The state parameter is intentionally hidden behind this wrapper so the internal encoding can evolve.
- PyBuffer
View - A typed form of
PyUntypedBufferView. Not constructible directly — usePyBufferView::with()orPyBufferView::with_flags(). - PyUntyped
Buffer - Allows access to the underlying buffer used by a python object such as
bytes,bytearrayorarray.array. - PyUntyped
Buffer View - Stack-allocated untyped buffer view.
- Read
Only Cell - Like core::cell::Cell, but only provides read-only access to the data.
Enums§
- Element
Type - Represents the type of a Python buffer element.
- PyBuffer
Contiguity - Contiguity constraint encoded by a
PyBufferRequest.
Traits§
- Element
- Trait implemented for possible element types of
PyBuffer.