mod config

Enums

A horizontal position (Left or Right)

Implementations

Functions

Gets a value based on this HPosition

Gets the inverse of this position

A vertical position

Implementations

A vertical position (Top or Bottom)

Functions

Gets a value based on this VPosition

Gets the inverse of this position

Structs and Unions

The config for the shuttles

The config for the labels of the atoms

Static config (i.e., does not usually change)

The config for the machine

The config for the atoms

The config for the legend

The config for the time

The extent of the content (in content-coordinates), denoted by top-left and bottom-right

Implementations

Functions

Whether the sidebar should be displayed

Whether the time-area should be displayed

An example Config

The size of the text

The color of the text

The font family / name for the text

The distance between the lines in x- and y-direction

The config for the grid lines

The config for the legend at the sides

Whether to display the coordinate ticks

The distance between the labels in x- and y-direction

The config for the font of the labels

The labels for the x- and y-axis

The position of the labels

Whether to display the labels for the x- and y-axis

Whether to display the numbers on the axes

The config for the font of the legend

How much to skip before each heading. Includes the font size (i.e., a skip of 0 results in the next item overlapping the heading).

entry_skip: f32

How much to skip before each entry. Includes the font size (i.e., a skip of 0 results in the next item overlapping the entry).

The radius of the circles showing the color

The padding between a circle and the text

The legend entries

The label of this entry

The color for the circle next to the text. None will render no circle.

The name of the section (i.e., the section-heading)

The entries of this section

The width of this line

The segment length of this line

The fraction filled in each segment

The color of this line

The config for the coordinate grid

The config for the traps

The configs for the zones

The config for the font of the time-display

Whether to display the current time

The positions of the traps

The radius of a trap

The line width of the trap-circles

The color of the traps

The top-left point of the zone

The size of the zone

The config of the line for this zone