Struct pyo3_ffi::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
Trait Implementations
sourceimpl Clone for PyType_Spec
impl Clone for PyType_Spec
sourcefn clone(&self) -> PyType_Spec
fn clone(&self) -> PyType_Spec
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Default for PyType_Spec
impl Default for PyType_Spec
sourcefn default() -> PyType_Spec
fn default() -> PyType_Spec
Returns the “default value” for a type. Read more
impl Copy for PyType_Spec
Auto Trait Implementations
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
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