Struct pyo3::ffi::PyType_Slot
source · pub struct PyType_Slot {
pub slot: i32,
pub pfunc: *mut c_void,
}
Fields§
§slot: i32
§pfunc: *mut c_void
Trait Implementations§
source§impl Clone for PyType_Slot
impl Clone for PyType_Slot
source§fn clone(&self) -> PyType_Slot
fn clone(&self) -> PyType_Slot
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 Default for PyType_Slot
impl Default for PyType_Slot
source§fn default() -> PyType_Slot
fn default() -> PyType_Slot
Returns the “default value” for a type. Read more