Skip to main content

IUnitItemEmptyMenuItemMethods

Trait IUnitItemEmptyMenuItemMethods 

Source
pub trait IUnitItemEmptyMenuItemMethods: IUnitItemEmptyMenuItem {
    // Provided methods
    fn ctor(
        self,
        select_event_handler: impl Into<UnitItemMenu_SelectEventHandler>,
        request_close_event_handler: impl Into<UnitItemMenu_RequestCloseEventHandler>,
    ) { ... }
    fn build_attribute(self) -> BasicMenuItem_Attribute { ... }
    fn get_unit_item(self) -> UnitItem { ... }
    fn on_select(self) { ... }
    fn a_call(self) -> BasicMenu_Result { ... }
}

Provided Methods§

Source

fn ctor( self, select_event_handler: impl Into<UnitItemMenu_SelectEventHandler>, request_close_event_handler: impl Into<UnitItemMenu_RequestCloseEventHandler>, )

.ctor(crate::app::unititemmenu::UnitItemMenu_SelectEventHandler, crate::app::unititemmenu::UnitItemMenu_RequestCloseEventHandler) overload

Source

fn build_attribute(self) -> BasicMenuItem_Attribute

BuildAttribute() overload

Source

fn get_unit_item(self) -> UnitItem

GetUnitItem() overload

Source

fn on_select(self)

OnSelect() overload

Source

fn a_call(self) -> BasicMenu_Result

ACall() overload

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<__T: IUnitItemEmptyMenuItem> IUnitItemEmptyMenuItemMethods for __T

Available on crate feature app-unititememptymenuitem only.