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