Enum libconfig::types::Value [] [src]

pub enum Value {
    Svalue(ScalarValue),
    Array(ArrayValue),
    List(ListValue),
    Group(SettingsList),
}

A type representing a generic value. Settings store Values.

Variants

A scalar

An array

A list. Arrays can only store scalars of the same type, whereas lists store Values of possibly different types, including other lists.

A group. Basically, a group acts as another configuration file - it stores a SettingsList.

Trait Implementations

impl PartialEq for Value
[src]

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

This method tests for !=.

impl Debug for Value
[src]

Formats the value using the given formatter.