Skip to main content

IUnityEvent_2Methods

Trait IUnityEvent_2Methods 

Source
pub trait IUnityEvent_2Methods<T0: ClassIdentity, T1: ClassIdentity>: ClassIdentity {
    // Provided methods
    fn ctor(self)
       where Self: Sized { ... }
    fn add_listener(self, call: UnityAction_2<T0, T1>)
       where Self: Sized { ... }
    fn remove_listener(self, call: UnityAction_2<T0, T1>)
       where Self: Sized { ... }
    fn find_method_impl(
        self,
        name: Il2CppString,
        target_obj_type: SystemType,
    ) -> MethodInfo
       where Self: Sized { ... }
    fn get_delegate(
        self,
        target: Object,
        the_function: MethodInfo,
    ) -> BaseInvokableCall
       where Self: Sized { ... }
    fn get_delegate_2(action: UnityAction_2<T0, T1>) -> BaseInvokableCall { ... }
    fn invoke(self, arg0: T0, arg1: T1)
       where Self: Sized { ... }
}

Provided Methods§

Source

fn ctor(self)
where Self: Sized,

Source

fn add_listener(self, call: UnityAction_2<T0, T1>)
where Self: Sized,

Source

fn remove_listener(self, call: UnityAction_2<T0, T1>)
where Self: Sized,

Source

fn find_method_impl( self, name: Il2CppString, target_obj_type: SystemType, ) -> MethodInfo
where Self: Sized,

Source

fn get_delegate( self, target: Object, the_function: MethodInfo, ) -> BaseInvokableCall
where Self: Sized,

Source

fn get_delegate_2(action: UnityAction_2<T0, T1>) -> BaseInvokableCall

Source

fn invoke(self, arg0: T0, arg1: T1)
where Self: Sized,

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§