#[repr(C)]pub struct PyClassObject {
pub ob_refcnt: Py_ssize_t,
pub ob_type: *mut PyTypeObject,
pub cl_bases: *mut PyObject,
pub cl_dict: *mut PyObject,
pub cl_name: *mut PyObject,
pub cl_getattr: *mut PyObject,
pub cl_setattr: *mut PyObject,
pub cl_delattr: *mut PyObject,
pub cl_weakreflist: *mut PyObject,
}
Fields§
§ob_refcnt: Py_ssize_t
§ob_type: *mut PyTypeObject
§cl_bases: *mut PyObject
§cl_dict: *mut PyObject
§cl_name: *mut PyObject
§cl_getattr: *mut PyObject
§cl_setattr: *mut PyObject
§cl_delattr: *mut PyObject
§cl_weakreflist: *mut PyObject
Trait Implementations§
Source§impl Clone for PyClassObject
impl Clone for PyClassObject
Source§fn clone(&self) -> PyClassObject
fn clone(&self) -> PyClassObject
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 PyClassObject
Auto Trait Implementations§
impl Freeze for PyClassObject
impl RefUnwindSafe for PyClassObject
impl !Send for PyClassObject
impl !Sync for PyClassObject
impl Unpin for PyClassObject
impl UnwindSafe for PyClassObject
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