#[repr(C)]pub struct fy_dedup_allocator_cfg {
pub parent_allocator: *mut fy_allocator,
pub bloom_filter_bits: c_uint,
pub bucket_count_bits: c_uint,
pub dedup_threshold: usize,
pub chain_length_grow_trigger: c_uint,
pub estimated_content_size: usize,
pub minimum_bucket_occupancy: f32,
}Fields§
§parent_allocator: *mut fy_allocator§bloom_filter_bits: c_uint§bucket_count_bits: c_uint§dedup_threshold: usize§chain_length_grow_trigger: c_uint§estimated_content_size: usize§minimum_bucket_occupancy: f32Trait Implementations§
Source§impl Clone for fy_dedup_allocator_cfg
impl Clone for fy_dedup_allocator_cfg
Source§fn clone(&self) -> fy_dedup_allocator_cfg
fn clone(&self) -> fy_dedup_allocator_cfg
Returns a duplicate 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 fy_dedup_allocator_cfg
impl Debug for fy_dedup_allocator_cfg
impl Copy for fy_dedup_allocator_cfg
Auto Trait Implementations§
impl Freeze for fy_dedup_allocator_cfg
impl RefUnwindSafe for fy_dedup_allocator_cfg
impl !Send for fy_dedup_allocator_cfg
impl !Sync for fy_dedup_allocator_cfg
impl Unpin for fy_dedup_allocator_cfg
impl UnwindSafe for fy_dedup_allocator_cfg
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