#[repr(C)]pub struct HashTableMemoryManagement {
pub alloc_cds_lfht: Option<unsafe extern "C" fn(min_nr_alloc_buckets: c_ulong, max_nr_buckets: c_ulong) -> *mut cds_lfht>,
pub alloc_bucket_table: Option<unsafe extern "C" fn(ht: *mut cds_lfht, order: c_ulong)>,
pub free_bucket_table: Option<unsafe extern "C" fn(ht: *mut cds_lfht, order: c_ulong)>,
pub bucket_at: Option<unsafe extern "C" fn(ht: *mut cds_lfht, index: c_ulong) -> *mut cds_lfht_node>,
}Fields§
§alloc_cds_lfht: Option<unsafe extern "C" fn(min_nr_alloc_buckets: c_ulong, max_nr_buckets: c_ulong) -> *mut cds_lfht>§alloc_bucket_table: Option<unsafe extern "C" fn(ht: *mut cds_lfht, order: c_ulong)>§free_bucket_table: Option<unsafe extern "C" fn(ht: *mut cds_lfht, order: c_ulong)>§bucket_at: Option<unsafe extern "C" fn(ht: *mut cds_lfht, index: c_ulong) -> *mut cds_lfht_node>Trait Implementations§
source§impl Clone for cds_lfht_mm_type
impl Clone for cds_lfht_mm_type
source§fn clone(&self) -> cds_lfht_mm_type
fn clone(&self) -> cds_lfht_mm_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 cds_lfht_mm_type
impl Debug for cds_lfht_mm_type
source§impl Default for cds_lfht_mm_type
impl Default for cds_lfht_mm_type
source§fn default() -> cds_lfht_mm_type
fn default() -> cds_lfht_mm_type
Returns the “default value” for a type. Read more
impl Copy for cds_lfht_mm_type
Auto Trait Implementations§
impl Freeze for cds_lfht_mm_type
impl RefUnwindSafe for cds_lfht_mm_type
impl Send for cds_lfht_mm_type
impl Sync for cds_lfht_mm_type
impl Unpin for cds_lfht_mm_type
impl UnwindSafe for cds_lfht_mm_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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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)