# pyo3::class - Rust
Keywords: rust, rustlang, rust-lang, class

# Module pyo3::class [−] [src]

Python object protocols

## Re-exports

`pub use self::basic::PyObjectProtocol;`
`pub use self::buffer::PyBufferProtocol;`
`pub use self::context::PyContextProtocol;`
`pub use self::descr::PyDescrProtocol;`
`pub use self::gc::PyGCProtocol;`
`pub use self::gc::PyTraverseError;`
`pub use self::gc::PyVisit;`
`pub use self::iter::PyIterProtocol;`
`pub use self::mapping::PyMappingProtocol;`
`pub use self::number::PyNumberProtocol;`
`pub use self::pyasync::PyAsyncProtocol;`
`pub use self::sequence::PySequenceProtocol;`

## Modules

basic | Basic Python Object customization
buffer | Represent Python Buffer protocol implementation
context | Context manager api Trait and support implementation for context manager api
descr | Python Description Interface
gc | Python GC support
iter | Python Iterator Interface. Trait and support implementation for implementing iterators
mapping | Python Mapping Interface Trait and support implementation for implementing mapping support
number | Python Number Interface Trait and support implementation for implementing number protocol
pyasync | Python Async/Await Interface.
sequence | Python Sequence Interface Trait and support implementation for implementing sequence