Skip to main content

IMapFor_Unit2FunctionMethods

Trait IMapFor_Unit2FunctionMethods 

Source
pub trait IMapFor_Unit2FunctionMethods: IMapFor_Unit2Function {
    // Provided methods
    fn ctor(self, object: impl Into<Object>, method: impl Into<IntPtr>) { ... }
    fn invoke(self, unit: impl Into<Unit>) -> MapFor_Return { ... }
}

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>) -> MapFor_Return

Invoke(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: IMapFor_Unit2Function> IMapFor_Unit2FunctionMethods for __T

Available on crate feature app-mapfor only.