pub trait IDamageInfo_InfoMethods: IDamageInfo_Info {
// Provided methods
fn get_unit(self) -> Unit { ... }
fn set_unit(self, value: impl Into<Unit>) { ... }
fn get_skill(self) -> SkillData { ... }
fn set_skill(self, value: impl Into<SkillData>) { ... }
fn get_damage(self) -> i32 { ... }
fn set_damage(self, value: impl Into<i32>) { ... }
fn ctor(self) { ... }
}Provided Methods§
Sourcefn set_skill(self, value: impl Into<SkillData>)
fn set_skill(self, value: impl Into<SkillData>)
set_Skill(crate::app::skilldata::SkillData) overload
Sourcefn get_damage(self) -> i32
fn get_damage(self) -> i32
get_Damage() overload
Sourcefn set_damage(self, value: impl Into<i32>)
fn set_damage(self, value: impl Into<i32>)
set_Damage(i32) 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: IDamageInfo_Info> IDamageInfo_InfoMethods for __T
Available on crate feature
app-damageinfo only.