Skip to main content

IWeaponMaskMethods

Trait IWeaponMaskMethods 

Source
pub trait IWeaponMaskMethods: IWeaponMask {
    // Provided methods
    fn ctor(self) { ... }
    fn ctor_2(self, f: impl Into<i32>) { ... }
    fn ctor_3(self, f: impl Into<WeaponMask_Flag>) { ... }
    fn to_int(self, value: impl Into<WeaponMask_Flag>) -> i32 { ... }
    fn test(self, item: impl Into<ItemData>) -> bool { ... }
    fn test_2(self, kind: impl Into<ItemData_Kinds>) -> bool { ... }
    fn set(self, kind: impl Into<ItemData_Kinds>) { ... }
    fn clear(self, kind: impl Into<ItemData_Kinds>) { ... }
    fn can_equip_from_kind(self, kind: impl Into<ItemData_Kinds>) -> bool { ... }
    fn get_exist(self) -> bool { ... }
    fn get_random_for_arena(self) -> ItemData_Kinds { ... }
}

Provided Methods§

Source

fn ctor(self)

.ctor() overload

Source

fn ctor_2(self, f: impl Into<i32>)

.ctor(i32) overload

Source

fn ctor_3(self, f: impl Into<WeaponMask_Flag>)

.ctor(crate::app::weaponmask::WeaponMask_Flag) overload

Source

fn to_int(self, value: impl Into<WeaponMask_Flag>) -> i32

ToInt(crate::app::weaponmask::WeaponMask_Flag) overload

Source

fn test(self, item: impl Into<ItemData>) -> bool

Test(crate::app::itemdata::ItemData) overload

Source

fn test_2(self, kind: impl Into<ItemData_Kinds>) -> bool

Test(crate::app::itemdata::ItemData_Kinds) overload

Source

fn set(self, kind: impl Into<ItemData_Kinds>)

Set(crate::app::itemdata::ItemData_Kinds) overload

Source

fn clear(self, kind: impl Into<ItemData_Kinds>)

Clear(crate::app::itemdata::ItemData_Kinds) overload

Source

fn can_equip_from_kind(self, kind: impl Into<ItemData_Kinds>) -> bool

CanEquipFromKind(crate::app::itemdata::ItemData_Kinds) overload

Source

fn get_exist(self) -> bool

get_Exist() overload

Source

fn get_random_for_arena(self) -> ItemData_Kinds

GetRandomForArena() 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: IWeaponMask> IWeaponMaskMethods for __T

Available on crate feature app-weaponmask only.