pub trait IMapItemMenu_EnchantItemMenuItemMethods: IMapItemMenu_EnchantItemMenuItem {
// Provided methods
fn ctor(
self,
unit_item_index: impl Into<i32>,
basic_item_menu_content: impl Into<BasicItemMenuContent>,
enchant_type: impl Into<MapItemMenu_EnchantType>,
) { ... }
fn build_attribute(self) -> BasicMenuItem_Attribute { ... }
fn a_call(self) -> BasicMenu_Result { ... }
fn x_call(self) -> BasicMenu_Result { ... }
fn on_select(self) { ... }
fn can_enchant(self, unit_item: impl Into<UnitItem>) -> bool { ... }
fn enumerate(self) -> bool { ... }
fn is_effective(self) -> bool { ... }
}Provided Methods§
Sourcefn ctor(
self,
unit_item_index: impl Into<i32>,
basic_item_menu_content: impl Into<BasicItemMenuContent>,
enchant_type: impl Into<MapItemMenu_EnchantType>,
)
fn ctor( self, unit_item_index: impl Into<i32>, basic_item_menu_content: impl Into<BasicItemMenuContent>, enchant_type: impl Into<MapItemMenu_EnchantType>, )
.ctor(i32, crate::app::basicitemmenucontent::BasicItemMenuContent, crate::app::mapitemmenu::MapItemMenu_EnchantType) overload
Sourcefn build_attribute(self) -> BasicMenuItem_Attribute
fn build_attribute(self) -> BasicMenuItem_Attribute
BuildAttribute() overload
Sourcefn a_call(self) -> BasicMenu_Result
fn a_call(self) -> BasicMenu_Result
ACall() overload
Sourcefn x_call(self) -> BasicMenu_Result
fn x_call(self) -> BasicMenu_Result
XCall() overload
Sourcefn can_enchant(self, unit_item: impl Into<UnitItem>) -> bool
fn can_enchant(self, unit_item: impl Into<UnitItem>) -> bool
CanEnchant(crate::app::unititem::UnitItem) overload
Sourcefn is_effective(self) -> bool
fn is_effective(self) -> bool
IsEffective() 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: IMapItemMenu_EnchantItemMenuItem> IMapItemMenu_EnchantItemMenuItemMethods for __T
Available on crate feature
app-mapitemmenu only.