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>,
}Fields§
§compare: Option<unsafe extern "C" fn(arg1: st_data_t, arg2: st_data_t) -> c_int>§hash: Option<unsafe extern "C" fn(arg1: st_data_t) -> st_index_t>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 ==.