_PyObject_GC_IS_TRACKED
(&self)
| 1676 | |
| 1677 | /// _PyObject_GC_IS_TRACKED |
| 1678 | pub fn is_gc_tracked(&self) -> bool { |
| 1679 | GcBits::from_bits_retain(self.0.gc_bits.load(Ordering::Relaxed)).contains(GcBits::TRACKED) |
| 1680 | } |
| 1681 | |
| 1682 | /// Get the referents (objects directly referenced) of this object. |
| 1683 | /// Uses the full traverse including dict and slots. |
no test coverage detected