pub trait PyGCProtocol<'p>: PyClass<Frozen = False> {
    fn __traverse__(&'p self, visit: PyVisit<'_>) -> Result<(), PyTraverseError>;
    fn __clear__(&'p mut self);
}
👎 Deprecated since 0.16.0:

prefer #[pymethods] to #[pyproto]

Available on crate feature pyproto only.
Expand description

GC support

Required Methods

👎 Deprecated since 0.16.0:

prefer #[pymethods] to #[pyproto]

👎 Deprecated since 0.16.0:

prefer #[pymethods] to #[pyproto]

Implementors