pub trait IHelpItemUnitItemMethods: IHelpItemUnitItem {
// Provided methods
fn get_start_item_const_priority(self) -> i32 { ... }
fn set_data(
self,
unit: impl Into<Unit>,
item: impl Into<UnitItem>,
is_use_enchant: impl Into<bool>,
) { ... }
fn is_valid(self) -> bool { ... }
fn set_contents(self, setter: impl Into<HelpParamSetter>) { ... }
fn ctor(self) { ... }
}Provided Methods§
Sourcefn get_start_item_const_priority(self) -> i32
fn get_start_item_const_priority(self) -> i32
get_StartItemConstPriority() overload
Sourcefn set_data(
self,
unit: impl Into<Unit>,
item: impl Into<UnitItem>,
is_use_enchant: impl Into<bool>,
)
fn set_data( self, unit: impl Into<Unit>, item: impl Into<UnitItem>, is_use_enchant: impl Into<bool>, )
SetData(crate::app::unit::Unit, crate::app::unititem::UnitItem, bool) overload
Sourcefn set_contents(self, setter: impl Into<HelpParamSetter>)
fn set_contents(self, setter: impl Into<HelpParamSetter>)
SetContents(crate::app::helpparamsetter::HelpParamSetter) 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: IHelpItemUnitItem> IHelpItemUnitItemMethods for __T
Available on crate feature
app-helpitemunititem only.