Struct pyo3_ffi::_PyWeakReference
source · [−]pub struct _PyWeakReference {
pub ob_base: PyObject,
pub wr_object: *mut PyObject,
pub wr_callback: *mut PyObject,
pub hash: Py_hash_t,
pub wr_prev: *mut PyWeakReference,
pub wr_next: *mut PyWeakReference,
}
Fields
ob_base: PyObject
wr_object: *mut PyObject
wr_callback: *mut PyObject
hash: Py_hash_t
wr_prev: *mut PyWeakReference
wr_next: *mut PyWeakReference
Auto Trait Implementations
impl RefUnwindSafe for _PyWeakReference
impl !Send for _PyWeakReference
impl !Sync for _PyWeakReference
impl Unpin for _PyWeakReference
impl UnwindSafe for _PyWeakReference
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more