Skip to main content

IRefreshUnitSetMenu_SetUnitEventHandlerMethods

Trait IRefreshUnitSetMenu_SetUnitEventHandlerMethods 

Source
pub trait IRefreshUnitSetMenu_SetUnitEventHandlerMethods: IRefreshUnitSetMenu_SetUnitEventHandler {
    // Provided methods
    fn ctor(self, object: impl Into<Object>, method: impl Into<IntPtr>) { ... }
    fn invoke(self, unit_index: impl Into<i32>, unit: 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, unit_index: impl Into<i32>, unit: impl Into<Unit>)

Invoke(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: IRefreshUnitSetMenu_SetUnitEventHandler> IRefreshUnitSetMenu_SetUnitEventHandlerMethods for __T

Available on crate feature app-refreshunitsetmenu only.