Skip to main content

IUnityEvent_4Methods

Trait IUnityEvent_4Methods 

Source
pub trait IUnityEvent_4Methods<T0: ClassIdentity, T1: ClassIdentity, T2: ClassIdentity, T3: ClassIdentity>: ClassIdentity {
    // Provided methods
    fn ctor(self)
       where Self: Sized { ... }
    fn add_listener(self, call: UnityAction_4<T0, T1, T2, T3>)
       where Self: Sized { ... }
    fn remove_listener(self, call: UnityAction_4<T0, T1, T2, T3>)
       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_4<T0, T1, T2, T3>,
    ) -> BaseInvokableCall { ... }
}

Provided Methods§

Source

fn ctor(self)
where Self: Sized,

Source

fn add_listener(self, call: UnityAction_4<T0, T1, T2, T3>)
where Self: Sized,

Source

fn remove_listener(self, call: UnityAction_4<T0, T1, T2, T3>)
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_4<T0, T1, T2, T3>) -> BaseInvokableCall

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<T0: ClassIdentity, T1: ClassIdentity, T2: ClassIdentity, T3: ClassIdentity, __U: IUnityEvent_4<T0, T1, T2, T3> + ClassIdentity> IUnityEvent_4Methods<T0, T1, T2, T3> for __U