Skip to main content

Module module

Module module 

Source
Expand description

Pluggable application modules selectable at runtime.

Structs§

Inner
Shared inner state of a Module, holding the module instance alongside its identifying metadata.
Module
A cheaply-clonable, reference-counted handle to a registered module.
ModuleManager
Tracks the set of application modules and the currently active module, providing navigation between them with a back-stack history.
ModuleReference
A typed handle to a registered module of concrete type M, allowing it to be borrowed (immutably or mutably) downcast back to its original type.

Enums§

ModuleCaps
Capabilities of a module. Defines whether the module should be available on the Desktop, Mobile, WebApp or in a browser Extension.
ModuleStyle
Layout style with which a module’s UI should be rendered, selecting the set of text styles applied before rendering.

Traits§

HashMapModuleExtension
Extension trait for inserting a module into a map keyed by its TypeId.
ModuleT
Trait implemented by a UI module: a self-contained, downcastable unit with lifecycle hooks (activate/deactivate/main/render/shutdown) operating over an associated application context.