Expand description
State that is shared with most top-level crates.
Structs§
- AppOptions
- Global options for the viewer.
- Blueprint
Id - A unique id for a type of Blueprint contents.
- Command
Receiver - Receiver for the
CommandSender
- Command
Sender - Sender that queues up the execution of commands.
- Global
Context - Application context that is shared across all parts of the viewer.
Enums§
- Contents
- Contents
Name - The name of a
Contents
. - Display
Mode - Which display mode are we currently in?
- Item
- One “thing” in the UI.
- Recording
OrTable - System
Command - Commands used by internal system components
Traits§
- Blueprint
IdRegistry - System
Command Sender - Interface for sending
SystemCommand
messages.
Functions§
- blueprint_
id_ to_ tile_ id - command_
channel - Creates a new command channel.
- resolve_
mono_ instance_ path - If the given path refers to the first element of an instance with a single element, resolve to a unindexed entity path.
- resolve_
mono_ instance_ path_ item - If the given item refers to the first element of an instance with a single element, resolve to a unindexed entity path.
- santitize_
file_ name - Replace “dangerous” characters by a safe one.