Struct python27_sys::PyWeakReference [] [src]

pub struct PyWeakReference {
    pub ob_refcnt: Py_ssize_t,
    pub ob_type: *mut PyTypeObject,
    pub wr_object: *mut PyObject,
    pub wr_callback: *mut PyObject,
    pub hash: c_long,
    pub wr_prev: *mut PyWeakReference,
    pub wr_next: *mut PyWeakReference,
}

Fields

ob_refcnt: Py_ssize_t ob_type: *mut PyTypeObject wr_object: *mut PyObject wr_callback: *mut PyObject hash: c_long wr_prev: *mut PyWeakReference wr_next: *mut PyWeakReference

Trait Implementations

impl Clone for PyWeakReference
[src]

fn clone(&self) -> PyWeakReference

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Copy for PyWeakReference
[src]