[][src]Trait pyo3::class::gc::PyGCProtocol

pub trait PyGCProtocol<'p>: PyClass {
    fn __traverse__(&'p self, visit: PyVisit<'_>) -> Result<(), PyTraverseError>;
fn __clear__(&'p mut self); }

GC support

Required methods

fn __traverse__(&'p self, visit: PyVisit<'_>) -> Result<(), PyTraverseError>

fn __clear__(&'p mut self)

Loading content...

Implementors

Loading content...