pub trait RawTableAllocExt {
type T;
// Required method
fn insert_accounted(
&mut self,
x: Self::T,
hasher: impl Fn(&Self::T) -> u64,
accounting: &mut usize
) -> Bucket<Self::T>;
}
Expand description
Extension trait for RawTable
to account for allocations.