Struct std::collections::hash_map::DefaultResizePolicy [] [src]

struct DefaultResizePolicy;

The default behavior of HashMap implements a load factor of 90.9%. This behavior is characterized by the following condition:

Methods

impl DefaultResizePolicy

fn new() -> DefaultResizePolicy

fn min_capacity(&self, usable_size: usize) -> usize

fn usable_capacity(&self, cap: usize) -> usize

An inverse of min_capacity, approximately.

Trait Implementations

Derived Implementations

impl Clone for DefaultResizePolicy

fn clone(&self) -> DefaultResizePolicy

fn clone_from(&mut self, source: &Self)