logo
pub struct AlertModel<Conf: AlertConfig> { /* private fields */ }
Expand description

Model of the alert dialog component

Trait Implementations

Initialize the model of the component or worker. Read more

Updates the model. Typically a match statement is used to process the message. Read more

The message type that defines the messages that can be sent to modify the model.

The widgets type that can initialize and update the GUI with the data the model provides. Read more

The components type that initializes the child components of this model. Read more

Initialize the UI.

Return the root widget.

Update the view to represent the updated model.

The root represents the first widget that all other widgets of this app or component are attached to. The root of the main app must be a [gtk::ApplicationWindow]. Read more

Optional method to initialize components. This is only useful if you want to attach the widgets of a component to the widgets of this model. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.