[][src]Module livesplit_core::settings

The settings module provides the ability to customize components and various other settings.

Structs

Color

Colors can be used to describe what color to use for visualizing backgrounds, texts, lines and various other elements that are being shown. They are stored as RGBA colors with 32-bit float point numbers ranging from 0.0 to 1.0 per channel.

Field

A Field describes a single setting by its name and its current value.

SettingsDescription

A generic description of the settings available and their current values.

Enums

Alignment

Describes the Alignment of the Title in the Title Component.

Gradient

Describes a Gradient for coloring a region with more than just a single color.

ListGradient

Describes an extended form of a gradient, specifically made for use with lists. It allows specifying different coloration for the rows in a list.

SemanticColor

A Semantic Color describes a color by some meaningful event that is happening. This information can be visualized as a color, but can also be interpreted in other ways by the consumer of this API.

Value

Describes a setting's value. Such a value can be of a variety of different types.

ValueError

The Error type for values that couldn't be converted.

Type Definitions

ValueResult

The Result type for conversions from Values to other types.