# task2::Config - Rust
API documentation for the Rust `Config` struct in crate `task2`.
Keywords: rust, rustlang, rust-lang, Config

# Struct task2::Config [−] [src]

    pub struct Config {
        pub search: char,
        pub line: String,
    }

a struct to hold all of our configuration

## Fields

`search: char` `line: String`

## Trait Implementations

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

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

Formats the value using the given formatter.

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

#### `fn eq(&self, __arg_0: &Config) -> bool`
[src]

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

#### `fn ne(&self, __arg_0: &Config) -> bool`
[src]

This method tests for `!=`.

# 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`)