Skip to main content

IHelpItemUnitItemMethods

Trait IHelpItemUnitItemMethods 

Source
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§

Source

fn get_start_item_const_priority(self) -> i32

get_StartItemConstPriority() overload

Source

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

Source

fn is_valid(self) -> bool

IsValid() overload

Source

fn set_contents(self, setter: impl Into<HelpParamSetter>)

SetContents(crate::app::helpparamsetter::HelpParamSetter) overload

Source

fn ctor(self)

.ctor() 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: IHelpItemUnitItem> IHelpItemUnitItemMethods for __T

Available on crate feature app-helpitemunititem only.