Struct rb_sys::bindings::st_hash_type
source · #[repr(C)]pub struct st_hash_type {
pub compare: Option<unsafe extern "C" fn(arg1: st_data_t, arg2: st_data_t) -> c_int>,
pub hash: Option<unsafe extern "C" fn(arg1: st_data_t) -> st_index_t>,
}Expand description
Generated by rb-sys for Ruby 3.0.0
Fields§
§compare: Option<unsafe extern "C" fn(arg1: st_data_t, arg2: st_data_t) -> c_int>Generated by rb-sys for Ruby 3.0.0
hash: Option<unsafe extern "C" fn(arg1: st_data_t) -> st_index_t>Generated by rb-sys for Ruby 3.0.0
Trait Implementations§
source§impl Clone for st_hash_type
impl Clone for st_hash_type
source§fn clone(&self) -> st_hash_type
fn clone(&self) -> st_hash_type
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 Debug for st_hash_type
impl Debug for st_hash_type
source§impl PartialEq<st_hash_type> for st_hash_type
impl PartialEq<st_hash_type> for st_hash_type
source§fn eq(&self, other: &st_hash_type) -> bool
fn eq(&self, other: &st_hash_type) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for st_hash_type
impl Eq for st_hash_type
impl StructuralEq for st_hash_type
impl StructuralPartialEq for st_hash_type
Auto Trait Implementations§
impl RefUnwindSafe for st_hash_type
impl Send for st_hash_type
impl Sync for st_hash_type
impl Unpin for st_hash_type
impl UnwindSafe for st_hash_type
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