Trait polars::prelude::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.

Implementations on Foreign Types§

source§

impl<K> InitHashMaps for HashSet<K, RandomState>

source§

impl<K> InitHashMaps for IndexSet<K, RandomState>

source§

impl<K, V> InitHashMaps for HashMap<K, V, RandomState>

source§

impl<K, V> InitHashMaps for IndexMap<K, V, RandomState>

Implementors§