Skip to main content

IInvokableCallListMethods

Trait IInvokableCallListMethods 

Source
pub trait IInvokableCallListMethods: IInvokableCallList {
    // Provided methods
    fn add_persistent_invokable_call(self, call: impl Into<BaseInvokableCall>) { ... }
    fn add_listener(self, call: impl Into<BaseInvokableCall>) { ... }
    fn remove_listener(
        self,
        target_obj: impl Into<Object>,
        method: impl Into<MethodInfo>,
    ) { ... }
    fn clear_persistent(self) { ... }
    fn prepare_invoke(self) -> List_1<BaseInvokableCall> { ... }
    fn ctor(self) { ... }
}

Provided Methods§

Source

fn add_persistent_invokable_call(self, call: impl Into<BaseInvokableCall>)

AddPersistentInvokableCall(crate::unity_engine::events::baseinvokablecall::BaseInvokableCall) overload

Source

fn add_listener(self, call: impl Into<BaseInvokableCall>)

AddListener(crate::unity_engine::events::baseinvokablecall::BaseInvokableCall) overload

Source

fn remove_listener( self, target_obj: impl Into<Object>, method: impl Into<MethodInfo>, )

RemoveListener(crate::system::object::Object, crate::system::reflection::methodinfo::MethodInfo) overload

Source

fn clear_persistent(self)

ClearPersistent() overload

Source

fn prepare_invoke(self) -> List_1<BaseInvokableCall>

PrepareInvoke() overload

Source

fn ctor(self)

.ctor() 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: IInvokableCallList> IInvokableCallListMethods for __T

Available on crate feature unity_engine-events-invokablecalllist only.