Home
last modified time | relevance | path

Searched refs:shrink_to (Results 1 – 4 of 4) sorted by relevance

/external/rust/crates/hashbrown/
DCHANGELOG.md219 - Changed shrink_to to not panic if min_capacity < capacity. (#67)
/external/rust/crates/hashbrown/src/
Dset.rs623 pub fn shrink_to(&mut self, min_capacity: usize) { in shrink_to() function
624 self.map.shrink_to(min_capacity) in shrink_to()
Dmap.rs848 .shrink_to(0, make_hasher::<K, _, V, S>(&self.hash_builder)); in shrink_to_fit()
875 pub fn shrink_to(&mut self, min_capacity: usize) { in shrink_to() function
877 .shrink_to(min_capacity, make_hasher::<K, _, V, S>(&self.hash_builder)); in shrink_to()
/external/rust/crates/hashbrown/src/raw/
Dmod.rs605 pub fn shrink_to(&mut self, min_size: usize, hasher: impl Fn(&T) -> u64) { in shrink_to() method