Skip to main content

IInvestmentMenu_InvestmentMenuItem_InvestmentSubMenuItemMethods

Trait IInvestmentMenu_InvestmentMenuItem_InvestmentSubMenuItemMethods 

Source
pub trait IInvestmentMenu_InvestmentMenuItem_InvestmentSubMenuItemMethods: IInvestmentMenu_InvestmentMenuItem_InvestmentSubMenuItem {
    // Provided methods
    fn ctor(
        self,
        cost: impl Into<i32>,
        parent: impl Into<InvestmentMenu_InvestmentMenuItem>,
    ) { ... }
    fn set_text_color(
        self,
        color: impl Into<Color>,
        b_inactive: impl Into<bool>,
    ) { ... }
    fn on_select(self) { ... }
    fn build_attribute(self) -> BasicMenuItem_Attribute { ... }
    fn a_call(self) -> BasicMenu_Result { ... }
}

Provided Methods§

Source

fn ctor( self, cost: impl Into<i32>, parent: impl Into<InvestmentMenu_InvestmentMenuItem>, )

.ctor(i32, crate::app::investmentmenu::InvestmentMenu_InvestmentMenuItem) overload

Source

fn set_text_color(self, color: impl Into<Color>, b_inactive: impl Into<bool>)

SetTextColor(crate::unity_engine::color::Color, bool) overload

Source

fn on_select(self)

OnSelect() 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§