Module app

Source
Expand description

Application related items

Structs§

App
Struct that implements module-wide responsibilities, currently limited to creating views on request.
AppSender
Context struct passed to the application assistant creator
Config
Grab-bag of configuration options for Carnelian apps.
ViewCreationParameters
Parameter struction for view creation

Enums§

MessageTarget
Target of a Any-based message
ViewMode
Enum used by Config to control what sort of views will be used.

Traits§

AppAssistant
Trait that a mod author must implement. Currently responsible for creating a view assistant when the Fuchsia view framework requests that the mod create a view.

Functions§

make_app_assistant
Convenience function to create an application assistant that implements Default.

Type Aliases§

AppAssistantPtr
Reference to an application assistant.
AssistantCreator
Future that returns an application assistant.
AssistantCreatorFunc
Function that creates an AssistantCreator future.
CreateViewOptions
Options when creating a view.
LocalBoxFuture
Type alias for a non-sync future