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§
Sourcefn get_method(self) -> MethodInfo
fn get_method(self) -> MethodInfo
get_Method() overload
Sourcefn get_virtual_method_internal(self) -> MethodInfo
fn get_virtual_method_internal(self) -> MethodInfo
GetVirtualMethod_internal() overload
Sourcefn get_target(self) -> Object
fn get_target(self) -> Object
get_Target() overload
Sourcefn dynamic_invoke(self, args: impl Into<Array<Object>>) -> Object
fn dynamic_invoke(self, args: impl Into<Array<Object>>) -> Object
DynamicInvoke(::unity::Array<crate::system::object::Object>) overload
Sourcefn initialize_delegate_data(self)
fn initialize_delegate_data(self)
InitializeDelegateData() overload
Sourcefn dynamic_invoke_impl(self, args: impl Into<Array<Object>>) -> Object
fn dynamic_invoke_impl(self, args: impl Into<Array<Object>>) -> Object
DynamicInvokeImpl(::unity::Array<crate::system::object::Object>) overload
Sourcefn get_hash_code(self) -> i32
fn get_hash_code(self) -> i32
GetHashCode() overload
Sourcefn get_method_impl(self) -> MethodInfo
fn get_method_impl(self) -> MethodInfo
GetMethodImpl() overload
Sourcefn get_invocation_list(self) -> Array<Delegate>
fn get_invocation_list(self) -> Array<Delegate>
GetInvocationList() overload
Sourcefn combine_impl(self, d: impl Into<Delegate>) -> Delegate
fn combine_impl(self, d: impl Into<Delegate>) -> Delegate
CombineImpl(crate::system::delegate::Delegate) overload
Sourcefn remove_impl(self, d: impl Into<Delegate>) -> Delegate
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§
impl<__T: IDelegate> IDelegateMethods for __T
Available on crate feature
system-delegate only.