Skip to main content

IGodUnitEmptyMenuItemMethods

Trait IGodUnitEmptyMenuItemMethods 

Source
pub trait IGodUnitEmptyMenuItemMethods: IGodUnitEmptyMenuItem {
    // Provided methods
    fn ctor(
        self,
        select_event_handler: impl Into<GodUnitSelectMenu_SelectEventHandler>,
        decide_event_handler: impl Into<GodUnitSelectMenu_DecideEventHandler>,
    ) { ... }
    fn build_attribute(self) -> BasicMenuItem_Attribute { ... }
    fn a_call(self) -> BasicMenu_Result { ... }
}

Provided Methods§

Source

fn ctor( self, select_event_handler: impl Into<GodUnitSelectMenu_SelectEventHandler>, decide_event_handler: impl Into<GodUnitSelectMenu_DecideEventHandler>, )

.ctor(crate::app::godunitselectmenu::GodUnitSelectMenu_SelectEventHandler, crate::app::godunitselectmenu::GodUnitSelectMenu_DecideEventHandler) overload

Source

fn build_attribute(self) -> BasicMenuItem_Attribute

BuildAttribute() 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: IGodUnitEmptyMenuItem> IGodUnitEmptyMenuItemMethods for __T

Available on crate feature app-godunitemptymenuitem only.