pub struct Options<M, S> where
S: BuildHasher, { /* fields omitted */ }
Options for how to initialize the map.
In particular, the options dictate the hashing function, meta type, and initial capacity of the
map.
Set the initial meta value for the map.
Set the hasher used for the map.
Set the initial capacity for the map.
pub fn construct<K, V>( self ) -> (ReadHandle<K, V, M, S>, WriteHandle<K, V, M, S>) where K: Eq + Hash + Clone, S: BuildHasher + Clone, V: Eq + ShallowCopy, M: 'static + Clone, | [src] |
Create the map, and construct the read and write handles used to access it.
Returns the "default value" for a type. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static