pub trait IBasicItemMenuContentMethods: IBasicItemMenuContent {
// Provided methods
fn set_menu_title(self, title: impl Into<Il2CppString>) { ... }
fn change_is_performance_only(self) { ... }
fn set_detail(
self,
unit: impl Into<Unit>,
selected_item: impl Into<UnitItem>,
) { ... }
fn set_enchant_mode(self, is_enchant: impl Into<bool>) { ... }
fn get_sub_item_menu_rect(self) -> RectTransform { ... }
fn set_color(self, color: impl Into<Color>) { ... }
fn get_menu_item_content_max(self) -> i32 { ... }
fn calc_cursor_moved_pos_y(self, menu_item_index: impl Into<i32>) -> f32 { ... }
fn calc_w(self) -> f32 { ... }
fn calc_h(self) -> f32 { ... }
fn ctor(self) { ... }
}Provided Methods§
SetMenuTitle(::unity::Il2CppString) overload
Sourcefn change_is_performance_only(self)
fn change_is_performance_only(self)
ChangeIsPerformanceOnly() overload
Sourcefn set_detail(self, unit: impl Into<Unit>, selected_item: impl Into<UnitItem>)
fn set_detail(self, unit: impl Into<Unit>, selected_item: impl Into<UnitItem>)
SetDetail(crate::app::unit::Unit, crate::app::unititem::UnitItem) overload
Sourcefn set_enchant_mode(self, is_enchant: impl Into<bool>)
fn set_enchant_mode(self, is_enchant: impl Into<bool>)
SetEnchantMode(bool) overload
GetSubItemMenuRect() overload
Sourcefn set_color(self, color: impl Into<Color>)
fn set_color(self, color: impl Into<Color>)
SetColor(crate::unity_engine::color::Color) overload
GetMenuItemContentMax() overload
Sourcefn calc_cursor_moved_pos_y(self, menu_item_index: impl Into<i32>) -> f32
fn calc_cursor_moved_pos_y(self, menu_item_index: impl Into<i32>) -> f32
CalcCursorMovedPosY(i32) 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§
impl<__T: IBasicItemMenuContent> IBasicItemMenuContentMethods for __T
Available on crate feature
app-basicitemmenucontent only.