Enum mg_settings::Value [] [src]

pub enum Value {
    Bool(bool),
    Float(f64),
    Int(i64),
    Str(String),
}

The Value enum represents a value along with its type.

Variants

Boolean value.

Floating-point value.

Integer value.

String value.

Methods

impl Value
[src]

[src]

Get a string representation of the value.

Trait Implementations

impl Debug for Value
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for Value
[src]

[src]

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

[src]

This method tests for !=.

Auto Trait Implementations

impl Send for Value

impl Sync for Value