Skip to main content

HashMapArena

Type Alias HashMapArena 

Source
pub type HashMapArena = Arena<HashMap<usize, Entry>>;
Expand description

HashMap-based arena (faster for large collections).

Aliased Type§

pub struct HashMapArena {
    state: RefCell<ArenaState<HashMap<usize, Entry>>>,
    _nosend: PhantomData<Rc<()>>,
}

Fields§

§state: RefCell<ArenaState<HashMap<usize, Entry>>>§_nosend: PhantomData<Rc<()>>

Layout§

Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.

Size: 112 bytes