pub trait ICharacterHUDMethods: ICharacterHUD {
// Provided methods
fn get_cp(self) -> Character { ... }
fn in(self) { ... }
fn on_destroy(self) { ... }
fn try_update_values(
self,
hp: impl Into<i32>,
maxhp: impl Into<i32>,
engage_count: impl Into<i32>,
) { ... }
fn push_show_skill(self, skill_data: impl Into<SkillData>) { ... }
fn out(self, ntime: impl Into<f32>) { ... }
fn ctor(self) { ... }
}Provided Methods§
Sourcefn on_destroy(self)
fn on_destroy(self)
OnDestroy() overload
Sourcefn try_update_values(
self,
hp: impl Into<i32>,
maxhp: impl Into<i32>,
engage_count: impl Into<i32>,
)
fn try_update_values( self, hp: impl Into<i32>, maxhp: impl Into<i32>, engage_count: impl Into<i32>, )
TryUpdateValues(i32, i32, i32) overload
Sourcefn push_show_skill(self, skill_data: impl Into<SkillData>)
fn push_show_skill(self, skill_data: impl Into<SkillData>)
PushShowSkill(crate::app::skilldata::SkillData) 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: ICharacterHUD> ICharacterHUDMethods for __T
Available on crate feature
combat-characterhud only.