Skip to main content

IDelegateMethods

Trait IDelegateMethods 

Source
pub trait IDelegateMethods: IDelegate {
Show 13 methods // Provided methods fn get_method(self) -> MethodInfo { ... } fn get_virtual_method_internal(self) -> MethodInfo { ... } fn get_target(self) -> Object { ... } fn dynamic_invoke(self, args: impl Into<Array<Object>>) -> Object { ... } fn initialize_delegate_data(self) { ... } fn dynamic_invoke_impl(self, args: impl Into<Array<Object>>) -> Object { ... } fn clone(self) -> Object { ... } fn equals(self, obj: impl Into<Object>) -> bool { ... } fn get_hash_code(self) -> i32 { ... } fn get_method_impl(self) -> MethodInfo { ... } fn get_invocation_list(self) -> Array<Delegate> { ... } fn combine_impl(self, d: impl Into<Delegate>) -> Delegate { ... } fn remove_impl(self, d: impl Into<Delegate>) -> Delegate { ... }
}

Provided Methods§

Source

fn get_method(self) -> MethodInfo

get_Method() overload

Source

fn get_virtual_method_internal(self) -> MethodInfo

GetVirtualMethod_internal() overload

Source

fn get_target(self) -> Object

get_Target() overload

Source

fn dynamic_invoke(self, args: impl Into<Array<Object>>) -> Object

DynamicInvoke(::unity::Array<crate::system::object::Object>) overload

Source

fn initialize_delegate_data(self)

InitializeDelegateData() overload

Source

fn dynamic_invoke_impl(self, args: impl Into<Array<Object>>) -> Object

DynamicInvokeImpl(::unity::Array<crate::system::object::Object>) overload

Source

fn clone(self) -> Object

Clone() overload

Source

fn equals(self, obj: impl Into<Object>) -> bool

Equals(crate::system::object::Object) overload

Source

fn get_hash_code(self) -> i32

GetHashCode() overload

Source

fn get_method_impl(self) -> MethodInfo

GetMethodImpl() overload

Source

fn get_invocation_list(self) -> Array<Delegate>

GetInvocationList() overload

Source

fn combine_impl(self, d: impl Into<Delegate>) -> Delegate

CombineImpl(crate::system::delegate::Delegate) overload

Source

fn remove_impl(self, d: impl Into<Delegate>) -> Delegate

RemoveImpl(crate::system::delegate::Delegate) 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: IDelegate> IDelegateMethods for __T

Available on crate feature system-delegate only.