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

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

This module contains additional fields for `#[pyclass]`.. Mainly used by our proc-macro codes.

## Structs

PyClassDictSlot | Actual dict field, which holds the pointer to `__dict__`.
PyClassDummySlot | Zero-sized dummy field.
PyClassWeakRefSlot | Actual weakref field, which holds the pointer to `__weakref__`.

## Traits

PyClassDict | Represents `__dict__` field for `#[pyclass]`.
PyClassWeakRef | Represents `__weakref__` field for `#[pyclass]`.