Function pyo3_ffi::PyType_SUPPORTS_WEAKREFS
source · [−]pub unsafe fn PyType_SUPPORTS_WEAKREFS(t: *mut PyTypeObject) -> c_intExpand description
Test if a type supports weak references
pub unsafe fn PyType_SUPPORTS_WEAKREFS(t: *mut PyTypeObject) -> c_intTest if a type supports weak references