#[repr(C)]pub struct PyInstanceObject {
pub ob_refcnt: Py_ssize_t,
pub ob_type: *mut PyTypeObject,
pub in_class: *mut PyClassObject,
pub in_dict: *mut PyObject,
pub in_weakreflist: *mut PyObject,
}
Fields§
§ob_refcnt: Py_ssize_t
§ob_type: *mut PyTypeObject
§in_class: *mut PyClassObject
§in_dict: *mut PyObject
§in_weakreflist: *mut PyObject
Trait Implementations§
Source§impl Clone for PyInstanceObject
impl Clone for PyInstanceObject
Source§fn clone(&self) -> PyInstanceObject
fn clone(&self) -> PyInstanceObject
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for PyInstanceObject
Auto Trait Implementations§
impl Freeze for PyInstanceObject
impl RefUnwindSafe for PyInstanceObject
impl !Send for PyInstanceObject
impl !Sync for PyInstanceObject
impl Unpin for PyInstanceObject
impl UnwindSafe for PyInstanceObject
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more