Skip to main content

IDebugUnitItemMenu_SubMenu_DropMenuItemMethods

Trait IDebugUnitItemMenu_SubMenu_DropMenuItemMethods 

Source
pub trait IDebugUnitItemMenu_SubMenu_DropMenuItemMethods: IDebugUnitItemMenu_SubMenu_DropMenuItem {
    // Provided methods
    fn ctor(self, unit: impl Into<Unit>, unit_item_index: impl Into<i32>) { ... }
    fn get_label(self) -> Il2CppString { ... }
    fn set_flag(self, enable: impl Into<bool>) { ... }
    fn is_flag(self) -> bool { ... }
}

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_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

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_DropMenuItem> IDebugUnitItemMenu_SubMenu_DropMenuItemMethods for __T

Available on crate feature app-debugunititemmenu only.