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 more