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§
Sourcefn add_persistent_invokable_call(self, call: impl Into<BaseInvokableCall>)
fn add_persistent_invokable_call(self, call: impl Into<BaseInvokableCall>)
AddPersistentInvokableCall(crate::unity_engine::events::baseinvokablecall::BaseInvokableCall) overload
Sourcefn add_listener(self, call: impl Into<BaseInvokableCall>)
fn add_listener(self, call: impl Into<BaseInvokableCall>)
AddListener(crate::unity_engine::events::baseinvokablecall::BaseInvokableCall) overload
Sourcefn remove_listener(
self,
target_obj: impl Into<Object>,
method: impl Into<MethodInfo>,
)
fn remove_listener( self, target_obj: impl Into<Object>, method: impl Into<MethodInfo>, )
RemoveListener(crate::system::object::Object, crate::system::reflection::methodinfo::MethodInfo) overload
Sourcefn clear_persistent(self)
fn clear_persistent(self)
ClearPersistent() overload
Sourcefn prepare_invoke(self) -> List_1<BaseInvokableCall>
fn prepare_invoke(self) -> List_1<BaseInvokableCall>
PrepareInvoke() 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§
impl<__T: IInvokableCallList> IInvokableCallListMethods for __T
Available on crate feature
unity_engine-events-invokablecalllist only.