Crate re_global_context

Crate re_global_context 

Source
Expand description

State that is shared with most top-level crates.

Structs§

AppOptions
Global options for the viewer.
BlueprintId
A unique id for a type of Blueprint contents.
CommandReceiver
Receiver for the CommandSender
CommandSender
Sender that queues up the execution of commands.
GlobalContext
Application context that is shared across all parts of the viewer.
ItemCollection
An ordered collection of Item and optional associated context objects.

Enums§

Contents
ContentsName
The name of a Contents.
DisplayMode
Which display mode are we currently in?
Item
One “thing” in the UI.
ItemContext
Context information that a view might attach to an item from ItemCollection and useful for how a selection might be displayed and interacted with.
RecordingOrTable
SystemCommand
Commands used by internal system components

Traits§

BlueprintIdRegistry
SystemCommandSender
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.

Type Aliases§

ContainerId
ViewId