Struct simics_api_sys::PyType_Spec
source · #[repr(C)]pub struct PyType_Spec {
pub name: *const c_char,
pub basicsize: c_int,
pub itemsize: c_int,
pub flags: c_uint,
pub slots: *mut PyType_Slot,
}
Fields§
§name: *const c_char
§basicsize: c_int
§itemsize: c_int
§flags: c_uint
§slots: *mut PyType_Slot
terminated by slot==0.
Trait Implementations§
source§impl Clone for PyType_Spec
impl Clone for PyType_Spec
source§fn clone(&self) -> PyType_Spec
fn clone(&self) -> PyType_Spec
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 moresource§impl Debug for PyType_Spec
impl Debug for PyType_Spec
source§impl Default for PyType_Spec
impl Default for PyType_Spec
source§impl Hash for PyType_Spec
impl Hash for PyType_Spec
source§impl Ord for PyType_Spec
impl Ord for PyType_Spec
source§fn cmp(&self, other: &PyType_Spec) -> Ordering
fn cmp(&self, other: &PyType_Spec) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for PyType_Spec
impl PartialEq for PyType_Spec
source§impl PartialOrd for PyType_Spec
impl PartialOrd for PyType_Spec
impl Copy for PyType_Spec
impl Eq for PyType_Spec
impl StructuralPartialEq for PyType_Spec
Auto Trait Implementations§
impl Freeze for PyType_Spec
impl RefUnwindSafe for PyType_Spec
impl !Send for PyType_Spec
impl !Sync for PyType_Spec
impl Unpin for PyType_Spec
impl UnwindSafe for PyType_Spec
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)