Struct phf_builder::Map [] [src]

pub struct Map<K, V> { /* fields omitted */ }

A builder for the phf::Map type.

Methods

impl<K: Hash + PhfHash + Eq, V> Map<K, V>
[src]

[src]

Creates a new phf::Map builder.

[src]

Adds an entry to the builder.

[src]

Constructs a phf::Map.

Panics

Panics if there are any duplicate keys.

Trait Implementations

Auto Trait Implementations

impl<K, V> Send for Map<K, V> where
    K: Send,
    V: Send

impl<K, V> Sync for Map<K, V> where
    K: Sync,
    V: Sync