Struct pyo3::ffi::PyHash_FuncDef
source · [−]#[repr(C)]pub struct PyHash_FuncDef {
pub hash: Option<extern "C" fn(*const c_void, isize) -> isize>,
pub name: *const i8,
pub hash_bits: i32,
pub seed_bits: i32,
}
Available on neither
Py_LIMITED_API
nor PyPy
.Fields
hash: Option<extern "C" fn(*const c_void, isize) -> isize>
name: *const i8
hash_bits: i32
seed_bits: i32
Trait Implementations
sourceimpl Clone for PyHash_FuncDef
impl Clone for PyHash_FuncDef
sourcefn clone(&self) -> PyHash_FuncDef
fn clone(&self) -> PyHash_FuncDef
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 PyHash_FuncDef
impl Default for PyHash_FuncDef
sourcefn default() -> PyHash_FuncDef
fn default() -> PyHash_FuncDef
Returns the “default value” for a type. Read more
impl Copy for PyHash_FuncDef
Auto Trait Implementations
impl RefUnwindSafe for PyHash_FuncDef
impl !Send for PyHash_FuncDef
impl !Sync for PyHash_FuncDef
impl Unpin for PyHash_FuncDef
impl UnwindSafe for PyHash_FuncDef
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