Trait relm4_components::alert::AlertParent
source · pub trait AlertParent: Modelwhere
Self::Widgets: ParentWindow,{
// Required methods
fn confirm_msg() -> Self::Msg;
fn cancel_msg() -> Self::Msg;
fn option_msg() -> Self::Msg;
}
Expand description
Interface for the parent model
Required Methods§
sourcefn confirm_msg() -> Self::Msg
fn confirm_msg() -> Self::Msg
Message sent to parent if user clicks confirm button
sourcefn cancel_msg() -> Self::Msg
fn cancel_msg() -> Self::Msg
Message sent to parent if user clicks cancel button
sourcefn option_msg() -> Self::Msg
fn option_msg() -> Self::Msg
Message sent to parent if user clicks third option button