Skip to main content

IMapSkill_SkillCalculator_UnitListMethods

Trait IMapSkill_SkillCalculator_UnitListMethods 

Source
pub trait IMapSkill_SkillCalculator_UnitListMethods: IMapSkill_SkillCalculator_UnitList {
    // Provided methods
    fn try_add(self, unit: impl Into<Unit>) -> bool { ... }
    fn ctor(self) { ... }
}

Provided Methods§

Source

fn try_add(self, unit: impl Into<Unit>) -> bool

TryAdd(crate::app::unit::Unit) 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: IMapSkill_SkillCalculator_UnitList> IMapSkill_SkillCalculator_UnitListMethods for __T

Available on crate feature app-mapskill only.