Struct ::exo::Settings

Overview

Store for multiple settings

Methods

fn new() -> Settings

Creates a new empty settings object.

fn remove(self, key: String) -> Tuple

Remove a specific setting by it's key.

fn insert(self, key: String, value: String) -> Tuple

Inserts a new setting.

fn get(self, key: String) -> Option

Get a setting entry.

Protocols

protocol partial_eq
if value == b { }

Allows for partial equality operations to work.

protocol string_debug
println("{:?}", value)

Allows the value to be debug printed.

protocol string_display
println("{}", value)

Allows the value to be display printed.