[][src]Trait preftool::ConfigurationSection

pub trait ConfigurationSection: Configuration {
    fn key(&self) -> &ConfigKey;
fn path(&self) -> &ConfigKey;
fn value(&self) -> Option<&str>; }

A (sub-)section of configuration. Can be used as normal configuration.

Required methods

fn key(&self) -> &ConfigKey

Get the current section key.

fn path(&self) -> &ConfigKey

Get the current section path.

fn value(&self) -> Option<&str>

Get the current section value (if any).

Loading content...

Implementors

Loading content...