Skip to main content

IHelpItemWeaponLevelMethods

Trait IHelpItemWeaponLevelMethods 

Source
pub trait IHelpItemWeaponLevelMethods: IHelpItemWeaponLevel {
    // Provided methods
    fn get_help_item_type(self) -> HelpManager_HelpItemType { ... }
    fn awake(self) { ... }
    fn get_weapon_kind(
        self,
        unit: impl Into<Unit>,
        index: impl Into<i32>,
    ) -> ItemData_Kinds { ... }
    fn is_valid(self) -> bool { ... }
    fn set_contents(self, setter: impl Into<HelpParamSetter>) { ... }
    fn ctor(self) { ... }
}

Provided Methods§

Source

fn get_help_item_type(self) -> HelpManager_HelpItemType

get_HelpItemType() overload

Source

fn awake(self)

Awake() overload

Source

fn get_weapon_kind( self, unit: impl Into<Unit>, index: impl Into<i32>, ) -> ItemData_Kinds

GetWeaponKind(crate::app::unit::Unit, i32) 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: IHelpItemWeaponLevel> IHelpItemWeaponLevelMethods for __T

Available on crate feature app-helpitemweaponlevel only.