Struct python3_sys::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§impl Default for PyHash_FuncDef
impl Default for PyHash_FuncDef
impl Copy for PyHash_FuncDef
Auto Trait Implementations§
impl Freeze for PyHash_FuncDef
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§
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
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
)