pub trait IDelegate: IObject {
Show 20 methods
// Provided methods
fn method_ptr(self) -> IntPtr { ... }
fn set_method_ptr(self, value: IntPtr) { ... }
fn invoke_impl(self) -> IntPtr { ... }
fn set_invoke_impl(self, value: IntPtr) { ... }
fn m_target(self) -> IlInstance { ... }
fn set_m_target(self, value: IlInstance) { ... }
fn method(self) -> IntPtr { ... }
fn set_method(self, value: IntPtr) { ... }
fn delegate_trampoline(self) -> IntPtr { ... }
fn set_delegate_trampoline(self, value: IntPtr) { ... }
fn extra_arg(self) -> IntPtr { ... }
fn set_extra_arg(self, value: IntPtr) { ... }
fn method_code(self) -> IntPtr { ... }
fn set_method_code(self, value: IntPtr) { ... }
fn method_info(self) -> MethodInfo { ... }
fn set_method_info(self, value: MethodInfo) { ... }
fn original_method_info(self) -> MethodInfo { ... }
fn set_original_method_info(self, value: MethodInfo) { ... }
fn method_is_virtual(self) -> bool { ... }
fn set_method_is_virtual(self, value: bool) { ... }
}Provided Methods§
fn method_ptr(self) -> IntPtr
fn set_method_ptr(self, value: IntPtr)
fn invoke_impl(self) -> IntPtr
fn set_invoke_impl(self, value: IntPtr)
fn m_target(self) -> IlInstance
fn set_m_target(self, value: IlInstance)
fn method(self) -> IntPtr
fn set_method(self, value: IntPtr)
fn delegate_trampoline(self) -> IntPtr
fn set_delegate_trampoline(self, value: IntPtr)
fn extra_arg(self) -> IntPtr
fn set_extra_arg(self, value: IntPtr)
fn method_code(self) -> IntPtr
fn set_method_code(self, value: IntPtr)
fn method_info(self) -> MethodInfo
fn set_method_info(self, value: MethodInfo)
fn original_method_info(self) -> MethodInfo
fn set_original_method_info(self, value: MethodInfo)
fn method_is_virtual(self) -> bool
fn set_method_is_virtual(self, value: bool)
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.