Skip to main content

IMapFor_UnitSkillFunctionMethods

Trait IMapFor_UnitSkillFunctionMethods 

Source
pub trait IMapFor_UnitSkillFunctionMethods: IMapFor_UnitSkillFunction {
    // Provided methods
    fn ctor(self, object: impl Into<Object>, method: impl Into<IntPtr>) { ... }
    fn invoke(self, unit: impl Into<Unit>, skill: impl Into<SkillData>) { ... }
}

Provided Methods§

Source

fn ctor(self, object: impl Into<Object>, method: impl Into<IntPtr>)

.ctor(crate::system::object::Object, ::unity::IntPtr) overload

Source

fn invoke(self, unit: impl Into<Unit>, skill: impl Into<SkillData>)

Invoke(crate::app::unit::Unit, 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§

Source§

impl<__T: IMapFor_UnitSkillFunction> IMapFor_UnitSkillFunctionMethods for __T

Available on crate feature app-mapfor only.