pub fn left_hasher<LH2: BuildHasher>(self, hasher: LH2) -> BiMapBuilder<LH2, RH, B> {
        BiMapBuilder {
            capacity: self.capacity,
            left_hasher: hasher,
            right_hasher: self.right_hasher,
            bit_field: self.bit_field,
        }
    }
/// Sets the hasher used for left values. By default, the hashmap will use the hashing
/// algorithm used in the standard library hashmap, which is randomly generated and designed to
/// be resistant to DoS attacks. Changing this hasher may lead to hash collisions and
/// performance issues, so do so with care.
///
/// ```
/// # use isomorphism::{BiMap, BiMapBuilder};
/// use std::collections::hash_map::RandomState;
///
/// let map: BiMap<String, String> = BiMapBuilder::new()
///             .left_hasher(RandomState::new())
///             .finish();
/// ```
Sets the hasher used for left values. By default, the hashmap will use the hashing
algorithm used in the standard library hashmap, which is randomly generated and designed to
be resistant to DoS attacks. Changing this hasher may lead to hash collisions and
performance issues, so do so with care.


Sets the hasher used for left values . By default the hashmap will use the hashing algorithm used in the standard library hashmap which is randomly generated and designed to be resistant to DoS attacks . Changing this hasher may lead to hash collisions and performance issues so do so with care .
pub fn left_hasher<LH2: BuildHasher>(self, hasher: LH2) -> BiMapBuilder<LH2, RH, B> {
        BiMapBuilder {
            capacity: self.capacity,
            left_hasher: hasher,
            right_hasher: self.right_hasher,
            bit_field: self.bit_field,
        }
    }
pub fn left_hasher < LH2 : BuildHasher > ( self , hasher : LH2 ) -> BiMapBuilder < LH2 , RH , B > { BiMapBuilder { capacity : self . capacity , left_hasher : hasher , right_hasher : self . right_hasher , bit_field : self . bit_field , } }
Sets the hasher used for left values.
Sets the hasher used for left values .
self
hasher
LH2
self
hasher
LH2
use isomorphism::{bimap, bimapbuilder};
use std::collections::hash_map::RandomState.

let map: BiMap = BiMapBuilder::new()
.left_hasher(RandomState::new())
.finish();
```
use std :: collections :: hash_map :: RandomState . let map : BiMap = BiMapBuilder :: new () . left_hasher ( RandomState :: new () ) . finish () ; ` ` `