[][src]Module livesplit_core::layout::editor

The editor module provides an editor for Layouts. The editor ensures that all the different invariants of the Layout objects are upheld no matter what kind of operations are being applied. It provides the current state of the editor as state objects that can be visualized by any kind of User Interface.

Structs

ButtonsState

Describes which actions are currently available. Depending on how many components exist and which one is selected, only some actions can be executed successfully.

Editor

The Layout Editor allows modifying Layouts while ensuring all the different invariants of the Layout objects are upheld no matter what kind of operations are being applied. It provides the current state of the editor as state objects that can be visualized by any kind of User Interface.

State

Represents the current state of the Layout Editor in order to visualize it properly.

Enums

Error

Describes an Error that occurred while opening the Layout Editor.

Type Definitions

Result

The Result type for the Layout Editor.