Struct DefaultHashBuilder
pub struct DefaultHashBuilder { /* private fields */ }Expand description
The default BuildHasher used by HashMap and HashSet.
See the module documentation for more information on the default hasher.
Trait Implementations§
§impl BuildHasher for DefaultHashBuilder
impl BuildHasher for DefaultHashBuilder
§type Hasher = DefaultHasher
type Hasher = DefaultHasher
Type of the hasher that will be created.
§fn build_hasher(&self) -> <DefaultHashBuilder as BuildHasher>::Hasher
fn build_hasher(&self) -> <DefaultHashBuilder as BuildHasher>::Hasher
Creates a new hasher. Read more
§impl Clone for DefaultHashBuilder
impl Clone for DefaultHashBuilder
§fn clone(&self) -> DefaultHashBuilder
fn clone(&self) -> DefaultHashBuilder
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Default for DefaultHashBuilder
impl Default for DefaultHashBuilder
§fn default() -> DefaultHashBuilder
fn default() -> DefaultHashBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DefaultHashBuilder
impl RefUnwindSafe for DefaultHashBuilder
impl Send for DefaultHashBuilder
impl Sync for DefaultHashBuilder
impl Unpin for DefaultHashBuilder
impl UnwindSafe for DefaultHashBuilder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more