Skip to main content

IDamageInfo_InfoMethods

Trait IDamageInfo_InfoMethods 

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

Source

fn get_unit(self) -> Unit

get_Unit() overload

Source

fn set_unit(self, value: impl Into<Unit>)

set_Unit(crate::app::unit::Unit) overload

Source

fn get_skill(self) -> SkillData

get_Skill() overload

Source

fn set_skill(self, value: impl Into<SkillData>)

set_Skill(crate::app::skilldata::SkillData) overload

Source

fn get_damage(self) -> i32

get_Damage() overload

Source

fn set_damage(self, value: impl Into<i32>)

set_Damage(i32) 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: IDamageInfo_Info> IDamageInfo_InfoMethods for __T

Available on crate feature app-damageinfo only.