Trait polars_utils::aliases::InitHashMaps

source ·
pub trait InitHashMaps {
    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> InitHashMaps for PlHashSet<K>

§

type HashMap = HashSet<K, RandomState>

source§

impl<K> InitHashMaps for PlIndexSet<K>

§

type HashMap = IndexSet<K, RandomState>

source§

impl<K, V> InitHashMaps for PlHashMap<K, V>

§

type HashMap = HashMap<K, V, RandomState>

source§

impl<K, V> InitHashMaps for PlIndexMap<K, V>

§

type HashMap = IndexMap<K, V, RandomState>