Skip to main content

IHelpItemSkillMethods

Trait IHelpItemSkillMethods 

Source
pub trait IHelpItemSkillMethods: IHelpItemSkill {
    // Provided methods
    fn set_skill_data(
        self,
        skill: impl Into<SkillData>,
        unit: impl Into<Unit>,
        is_forced_engage: impl Into<bool>,
    ) { ... }
    fn is_valid(self) -> bool { ... }
    fn set_contents(self, setter: impl Into<HelpParamSetter>) { ... }
    fn set_force_display(self) { ... }
    fn ctor(self) { ... }
}

Provided Methods§

Source

fn set_skill_data( self, skill: impl Into<SkillData>, unit: impl Into<Unit>, is_forced_engage: impl Into<bool>, )

SetSkillData(crate::app::skilldata::SkillData, crate::app::unit::Unit, bool) overload

Source

fn is_valid(self) -> bool

IsValid() overload

Source

fn set_contents(self, setter: impl Into<HelpParamSetter>)

SetContents(crate::app::helpparamsetter::HelpParamSetter) overload

Source

fn set_force_display(self)

SetForceDisplay() 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: IHelpItemSkill> IHelpItemSkillMethods for __T

Available on crate feature app-helpitemskill only.