Skip to main content

IDebugUnitItemMenu_SubMenu_FlagMenuItemMethods

Trait IDebugUnitItemMenu_SubMenu_FlagMenuItemMethods 

Source
pub trait IDebugUnitItemMenu_SubMenu_FlagMenuItemMethods: IDebugUnitItemMenu_SubMenu_FlagMenuItem {
    // Provided methods
    fn ctor(self, unit: impl Into<Unit>, unit_item_index: impl Into<i32>) { ... }
    fn get_name(self) -> Il2CppString { ... }
    fn get_label(self) -> Il2CppString { ... }
    fn set_flag(self, enable: impl Into<bool>) { ... }
    fn is_flag(self) -> bool { ... }
    fn is_enable(self) -> bool { ... }
    fn a_call(self) -> MenuItem_Result { ... }
}

Provided Methods§

Source

fn ctor(self, unit: impl Into<Unit>, unit_item_index: impl Into<i32>)

.ctor(crate::app::unit::Unit, i32) overload

Source

fn get_name(self) -> Il2CppString

GetName() overload

Source

fn get_label(self) -> Il2CppString

GetLabel() overload

Source

fn set_flag(self, enable: impl Into<bool>)

SetFlag(bool) overload

Source

fn is_flag(self) -> bool

IsFlag() overload

Source

fn is_enable(self) -> bool

IsEnable() overload

Source

fn a_call(self) -> MenuItem_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: IDebugUnitItemMenu_SubMenu_FlagMenuItem> IDebugUnitItemMenu_SubMenu_FlagMenuItemMethods for __T

Available on crate feature app-debugunititemmenu only.