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§
Sourcefn ctor_3(self, f: impl Into<WeaponMask_Flag>)
fn ctor_3(self, f: impl Into<WeaponMask_Flag>)
.ctor(crate::app::weaponmask::WeaponMask_Flag) overload
Sourcefn to_int(self, value: impl Into<WeaponMask_Flag>) -> i32
fn to_int(self, value: impl Into<WeaponMask_Flag>) -> i32
ToInt(crate::app::weaponmask::WeaponMask_Flag) overload
Sourcefn test_2(self, kind: impl Into<ItemData_Kinds>) -> bool
fn test_2(self, kind: impl Into<ItemData_Kinds>) -> bool
Test(crate::app::itemdata::ItemData_Kinds) overload
Sourcefn set(self, kind: impl Into<ItemData_Kinds>)
fn set(self, kind: impl Into<ItemData_Kinds>)
Set(crate::app::itemdata::ItemData_Kinds) overload
Sourcefn clear(self, kind: impl Into<ItemData_Kinds>)
fn clear(self, kind: impl Into<ItemData_Kinds>)
Clear(crate::app::itemdata::ItemData_Kinds) overload
Sourcefn can_equip_from_kind(self, kind: impl Into<ItemData_Kinds>) -> bool
fn can_equip_from_kind(self, kind: impl Into<ItemData_Kinds>) -> bool
CanEquipFromKind(crate::app::itemdata::ItemData_Kinds) overload
Sourcefn get_random_for_arena(self) -> ItemData_Kinds
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§
impl<__T: IWeaponMask> IWeaponMaskMethods for __T
Available on crate feature
app-weaponmask only.