# Struct ethcore::pod_state::PodState [−] [src]

    pub struct PodState(_);

State of all accounts in the system expressed in Plain Old Data.

## Methods

### `impl PodState`
[src]

#### `fn new() -> PodState`

Contruct a new object from the `m`.

#### `fn from(m: BTreeMap<Address, PodAccount>) -> PodState`

Contruct a new object from the `m`.

#### `fn get(&self) -> &BTreeMap<Address, PodAccount>`

Get the underlying map.

#### `fn root(&self) -> H256`

Get the root hash of the trie of the RLP of this.

#### `fn drain(self) -> BTreeMap<Address, PodAccount>`

Drain object to get the underlying map.

## Trait Implementations

### `impl Debug for PodState`
[src]

#### `fn fmt(&self, __arg_0: &mut Formatter) -> Result`

Formats the value using the given formatter.

### `impl Clone for PodState`
[src]

#### `fn clone(&self) -> PodState`

Returns a copy of the value. Read more

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

Performs copy-assignment from `source`. Read more

### `impl PartialEq for PodState`
[src]

#### `fn eq(&self, __arg_0: &PodState) -> bool`

This method tests for `self` and `other` values to be equal, and is used by `==`. Read more

#### `fn ne(&self, __arg_0: &PodState) -> bool`

This method tests for `!=`.

### `impl Eq for PodState`
[src]

### `impl Default for PodState`
[src]

#### `fn default() -> PodState`

Returns the "default value" for a type. Read more

### `impl From<State> for PodState`
[src]

#### `fn from(s: State) -> PodState`

Performs the conversion.

### `impl From<State> for PodState`
[src]

#### `fn from(s: State) -> PodState`

Performs the conversion.

### `impl Display for PodState`
[src]

#### `fn fmt(&self, f: &mut Formatter) -> Result`

Formats the value using the given formatter.

# 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
+
  Collapse/expand all sections

## 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` or `* -> vec`)