Struct evmap::Options

source ·
pub struct Options<M, S>where
    S: BuildHasher,
{ /* private fields */ }
Expand description

Options for how to initialize the map.

In particular, the options dictate the hashing function, meta type, and initial capacity of the map.

Implementations

Set the initial meta value for the map.

Set the hasher used for the map.

Set the initial capacity for the map.

Create the map, and construct the read and write handles used to access it.

Trait Implementations

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.