Module pyo3::class

source · []
Available on crate feature pyproto only.
Expand description

Python object protocols

Re-exports

pub use self::basic::PyObjectProtocol;
Deprecated
pub use self::buffer::PyBufferProtocol;
Deprecated
pub use self::descr::PyDescrProtocol;
Deprecated
pub use self::gc::PyGCProtocol;
Deprecated
pub use self::iter::PyIterProtocol;
Deprecated
pub use self::mapping::PyMappingProtocol;
Deprecated
pub use self::number::PyNumberProtocol;
Deprecated
pub use self::pyasync::PyAsyncProtocol;
Deprecated
pub use self::sequence::PySequenceProtocol;
Deprecated

Modules

Basic Python Object customization

bufferNon-Py_LIMITED_API or Py_3_11

Represent Python Buffer protocol implementation

Python Description Interface

Python GC support

Python Iterator Interface. Trait and support implementation for implementing iterators

Python Mapping Interface Trait and support implementation for implementing mapping support

Python Number Interface Trait and support implementation for implementing number protocol

Python Async/Await Interface.

Python Sequence Interface Trait and support implementation for implementing sequence

Structs

Object visitor for GC.