Skip to main content

IMapSkill_UnitFuncMethods

Trait IMapSkill_UnitFuncMethods 

Source
pub trait IMapSkill_UnitFuncMethods: IMapSkill_UnitFunc {
    // Provided methods
    fn ctor(self, object: impl Into<Object>, method: impl Into<IntPtr>) { ... }
    fn invoke(
        self,
        x: impl Into<i32>,
        z: impl Into<i32>,
        target: impl Into<Unit>,
    ) { ... }
}

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, x: impl Into<i32>, z: impl Into<i32>, target: impl Into<Unit>)

Invoke(i32, i32, crate::app::unit::Unit) 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_UnitFunc> IMapSkill_UnitFuncMethods for __T

Available on crate feature app-mapskill only.