[][src]Struct im::hashmap::HashMapPool

pub struct HashMapPool<K, V>(_);

A memory pool for the appropriate node type.

Methods

impl<K, V> HashMapPool<K, V>[src]

pub fn new(size: usize) -> Self[src]

Create a new pool with the given size.

pub fn fill(&self)[src]

Fill the pool with preallocated chunks.

pub fn pool_size(&self) -> usize[src]

Get the current size of the pool.

Trait Implementations

impl<K, V> Clone for HashMapPool<K, V>[src]

impl<K, V> Default for HashMapPool<K, V>[src]

Auto Trait Implementations

impl<K, V> !RefUnwindSafe for HashMapPool<K, V>

impl<K, V> Send for HashMapPool<K, V>

impl<K, V> Sync for HashMapPool<K, V>

impl<K, V> Unpin for HashMapPool<K, V>

impl<K, V> !UnwindSafe for HashMapPool<K, V>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T[src]

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,