Skip to main content

IMapFor_TargetFunctionMethods

Trait IMapFor_TargetFunctionMethods 

Source
pub trait IMapFor_TargetFunctionMethods: IMapFor_TargetFunction {
    // Provided methods
    fn ctor(self, object: impl Into<Object>, method: impl Into<IntPtr>) { ... }
    fn invoke(
        self,
        attack_x: impl Into<i32>,
        attack_z: impl Into<i32>,
        target_x: impl Into<i32>,
        target_z: impl Into<i32>,
        target: impl Into<Unit>,
        item_mask: impl Into<u32>,
        specified_item: impl Into<UnitItem>,
    ) { ... }
}

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, attack_x: impl Into<i32>, attack_z: impl Into<i32>, target_x: impl Into<i32>, target_z: impl Into<i32>, target: impl Into<Unit>, item_mask: impl Into<u32>, specified_item: impl Into<UnitItem>, )

Invoke(i32, i32, i32, i32, crate::app::unit::Unit, u32, crate::app::unititem::UnitItem) 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_TargetFunction> IMapFor_TargetFunctionMethods for __T

Available on crate feature app-mapfor only.