Enum libconfig::types::ScalarValue [] [src]

pub enum ScalarValue {
    Boolean(bool),
    Integer32(i32),
    Integer64(i64),
    Floating32(f32),
    Floating64(f64),
    Str(String),
}

The scalar values representation. Scalar values bind directly to Rust primitive types.

Variants

A boolean scalar

An i32 scalar

An i64 scalar

An f32 scalar

An f64 scalar

A string scalar

Trait Implementations

impl PartialEq for ScalarValue
[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 ScalarValue
[src]

Formats the value using the given formatter.

impl ToString for ScalarValue
[src]

Converts the given value to a String. Read more