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

Implementations on Foreign Types§

source§

impl<K, V> InitHashMaps2 for HashMap<K, V, BuildHasherDefault<IdHasher>>

§

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

source§

fn new( ) -> <HashMap<K, V, BuildHasherDefault<IdHasher>> as InitHashMaps2>::HashMap

source§

fn with_capacity(capacity: usize) -> HashMap<K, V, BuildHasherDefault<IdHasher>>

Implementors§