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§

source

fn confirm_msg() -> Self::Msg

Message sent to parent if user clicks confirm button

source

fn cancel_msg() -> Self::Msg

Message sent to parent if user clicks cancel button

source

fn option_msg() -> Self::Msg

Message sent to parent if user clicks third option button

Implementors§