# Struct std::collections::hash_state::DefaultState [−] [src]

    pub struct DefaultState<H>(_);

Deprecated since 1.7.0

: support moved to std::hash

A structure which is a factory for instances of `Hasher` which implement the default trait.

This struct is 0-sized and does not need construction.

## Trait Implementations

### `impl<H: Default + Hasher> HashState for DefaultState<H>`

#### `type Hasher = H`

#### `fn hasher(&self) -> H`

### `impl<H> Clone for DefaultState<H>`

#### `fn clone(&self) -> DefaultState<H>`

#### `fn clone_from(&mut self, source: &Self)`

### `impl<H> Default for DefaultState<H>`

#### `fn default() -> DefaultState<H>`

# Help

## Keyboard Shortcuts

?
  Show this help dialog
S
  Focus the search field
⇤
  Move up in search results
⇥
  Move down in search results
⏎
  Go to active search result

## Search Tricks

Prefix searches with a type followed by a colon (e.g. `fn:`) to restrict the search to a given type.

Accepted types are: `fn`, `mod`, `struct`, `enum`, `trait`, `type`, `macro`, and `const`.

Search functions by type signature (e.g. `vec -> usize`)