Struct pyo3_ffi::PyHash_FuncDef
source · #[repr(C)]pub struct PyHash_FuncDef {
pub hash: Option<extern "C" fn(arg1: *const c_void, arg2: Py_ssize_t) -> Py_hash_t>,
pub name: *const c_char,
pub hash_bits: c_int,
pub seed_bits: c_int,
}
Fields§
§hash: Option<extern "C" fn(arg1: *const c_void, arg2: Py_ssize_t) -> Py_hash_t>
§name: *const c_char
§hash_bits: c_int
§seed_bits: c_int
Trait Implementations§
source§impl Clone for PyHash_FuncDef
impl Clone for PyHash_FuncDef
source§fn clone(&self) -> PyHash_FuncDef
fn clone(&self) -> PyHash_FuncDef
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 more