Skip to main content

IFuncItemMethods

Trait IFuncItemMethods 

Source
pub trait IFuncItemMethods: IFuncItem {
    // Provided methods
    fn ctor(self, name: impl Into<Il2CppString>, func: impl Into<FuncItem_Func>) { ... }
    fn a_call(self) -> MenuItem_Result { ... }
}

Provided Methods§

Source

fn ctor(self, name: impl Into<Il2CppString>, func: impl Into<FuncItem_Func>)

.ctor(::unity::Il2CppString, crate::app::funcitem::FuncItem_Func) overload

Source

fn a_call(self) -> MenuItem_Result

ACall() 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: IFuncItem> IFuncItemMethods for __T

Available on crate feature app-funcitem only.