Type Alias EmbHash

Source
pub type EmbHash = HashTable;

Aliased Type§

struct EmbHash {
    pub numOfBuckets: i64,
    pub numOfElements: i64,
    pub bucketArray: *mut *mut KeyValuePair_struct,
    pub idealRatio: f32,
    pub lowerRehashThreshold: f32,
    pub upperRehashThreshold: f32,
    pub keycmp: Option<unsafe extern "C" fn(_: *const c_void, _: *const c_void) -> i32>,
    pub valuecmp: Option<unsafe extern "C" fn(_: *const c_void, _: *const c_void) -> i32>,
    pub hashFunction: Option<unsafe extern "C" fn(_: *const c_void) -> u64>,
    pub keyDeallocator: Option<unsafe extern "C" fn(_: *mut c_void)>,
    pub valueDeallocator: Option<unsafe extern "C" fn(_: *mut c_void)>,
}

Fields§

§numOfBuckets: i64§numOfElements: i64§bucketArray: *mut *mut KeyValuePair_struct§idealRatio: f32§lowerRehashThreshold: f32§upperRehashThreshold: f32§keycmp: Option<unsafe extern "C" fn(_: *const c_void, _: *const c_void) -> i32>§valuecmp: Option<unsafe extern "C" fn(_: *const c_void, _: *const c_void) -> i32>§hashFunction: Option<unsafe extern "C" fn(_: *const c_void) -> u64>§keyDeallocator: Option<unsafe extern "C" fn(_: *mut c_void)>§valueDeallocator: Option<unsafe extern "C" fn(_: *mut c_void)>