Module relm4::prelude

source ·
Expand description

Commonly-imported traits and types.

Modules that contain components can glob import this module to bring all needed types and traits into scope.

Re-exports

pub use adw;
pub use gtk;
pub use panel;

Structs

Contains the initial model and widgets being docked into a component.
Contains senders to send and receive messages from a Component.
Controls the component from afar.
A dynamic index that updates automatically when items are shifted inside a factory container.
Contains senders to send and receive messages from a Component.
An app that runs the main application.

Traits

The fundamental building block of a Relm4 application.
Shared behavior of component controller types.
A component that’s stored inside a factory. Similar to Component but adjusted to fit the life cycle of factories.
Elm-style variant of a Component with view updates separated from input updates.
Get a reference to a widget.
A trait that describes a widget template.