Trait relm4_components::alert::AlertConfig
source · pub trait AlertConfig {
type Model: Model;
// Required method
fn alert_config(model: &Self::Model) -> AlertSettings;
}
Expand description
Interface for creating AlertSettings
Required Associated Types§
Required Methods§
sourcefn alert_config(model: &Self::Model) -> AlertSettings
fn alert_config(model: &Self::Model) -> AlertSettings
Configuration for alert component.