Skip to main content

IRuntimeMethodInfoMethods

Trait IRuntimeMethodInfoMethods 

Source
pub trait IRuntimeMethodInfoMethods: IRuntimeMethodInfo {
    // Provided methods
    fn get_binding_flags(self) -> BindingFlags { ... }
    fn get_module(self) -> Module { ... }
    fn get_reflected_type_internal(self) -> RuntimeType { ... }
    fn format_name_and_sig(self, serialization: impl Into<bool>) -> Il2CppString { ... }
    fn create_delegate(self, delegate_type: impl Into<SystemType>) -> Delegate { ... }
    fn create_delegate_2(
        self,
        delegate_type: impl Into<SystemType>,
        target: impl Into<Object>,
    ) -> Delegate { ... }
    fn to_string(self) -> Il2CppString { ... }
    fn get_runtime_module(self) -> RuntimeModule { ... }
    fn serialization_to_string(self) -> Il2CppString { ... }
    fn ctor(self) { ... }
}

Provided Methods§

Source

fn get_binding_flags(self) -> BindingFlags

get_BindingFlags() overload

Source

fn get_module(self) -> Module

get_Module() overload

Source

fn get_reflected_type_internal(self) -> RuntimeType

get_ReflectedTypeInternal() overload

Source

fn format_name_and_sig(self, serialization: impl Into<bool>) -> Il2CppString

FormatNameAndSig(bool) overload

Source

fn create_delegate(self, delegate_type: impl Into<SystemType>) -> Delegate

CreateDelegate(::unity::SystemType) overload

Source

fn create_delegate_2( self, delegate_type: impl Into<SystemType>, target: impl Into<Object>, ) -> Delegate

CreateDelegate(::unity::SystemType, crate::system::object::Object) overload

Source

fn to_string(self) -> Il2CppString

ToString() overload

Source

fn get_runtime_module(self) -> RuntimeModule

GetRuntimeModule() overload

Source

fn serialization_to_string(self) -> Il2CppString

SerializationToString() 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: IRuntimeMethodInfo> IRuntimeMethodInfoMethods for __T

Available on crate feature system-reflection-runtimemethodinfo only.