Struct micro_kit::config::ConfigFile [] [src]

pub struct ConfigFile { /* fields omitted */ }

Wrapper for a parsed configuration. Should wrap the Yaml better to make the API easier to use.

Methods

impl ConfigFile
[src]

Open a yaml file as a config file.

Trait Implementations

impl Debug for ConfigFile
[src]

Formats the value using the given formatter.

impl Clone for ConfigFile
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'a> Index<&'a str> for ConfigFile
[src]

Allow a ConfigFile to be accessed like a map

The returned type after indexing

The method for the indexing (container[index]) operation

impl Index<usize> for ConfigFile
[src]

Allow a ConfigFile to be accessed like an array.

The returned type after indexing

The method for the indexing (container[index]) operation