Trait polars_core::datatypes::InitHashMaps2

source ·
pub trait InitHashMaps2 {
    type HashMap;

    // Required methods
    fn new() -> Self::HashMap;
    fn with_capacity(capacity: usize) -> Self::HashMap;
}

Required Associated Types§

Required Methods§

source

fn new() -> Self::HashMap

source

fn with_capacity(capacity: usize) -> Self::HashMap

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<K, V> InitHashMaps2 for PlIdHashMap<K, V>

§

type HashMap = HashMap<K, V, BuildHasherDefault<IdHasher>>