Enum libconfig::types::Value
[−]
[src]
pub enum Value { Svalue(ScalarValue), Array(ArrayValue), List(ListValue), Group(SettingsList), }
A type representing a generic value. Setting
s store Value
s.
Variants
Svalue(ScalarValue)
A scalar
Array(ArrayValue)
An array
List(ListValue)
A list. Arrays can only store scalars of the same type, whereas lists store Value
s of
possibly different types, including other lists.
Group(SettingsList)
A group. Basically, a group acts as another configuration file - it stores a SettingsList
.
Trait Implementations
impl PartialEq for Value
[src]
fn eq(&self, __arg_0: &Value) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Value) -> bool
This method tests for !=
.