Skip to main content

ICharacterHUDMethods

Trait ICharacterHUDMethods 

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

Source

fn get_cp(self) -> Character

get_CP() overload

Source

fn in(self)

In() overload

Source

fn on_destroy(self)

OnDestroy() overload

Source

fn try_update_values( self, hp: impl Into<i32>, maxhp: impl Into<i32>, engage_count: impl Into<i32>, )

TryUpdateValues(i32, i32, i32) overload

Source

fn push_show_skill(self, skill_data: impl Into<SkillData>)

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

Source

fn out(self, ntime: impl Into<f32>)

Out(f32) 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: ICharacterHUD> ICharacterHUDMethods for __T

Available on crate feature combat-characterhud only.