Skip to main content

IMonoAssemblyMethods

Trait IMonoAssemblyMethods 

Source
pub trait IMonoAssemblyMethods: IMonoAssembly {
    // Provided methods
    fn get_type(
        self,
        name: impl Into<Il2CppString>,
        throw_on_error: impl Into<bool>,
        ignore_case: impl Into<bool>,
    ) -> SystemType { ... }
    fn get_module(self, name: impl Into<Il2CppString>) -> Module { ... }
    fn get_modules(self, get_resource_modules: impl Into<bool>) -> Array<Module> { ... }
    fn ctor(self) { ... }
}

Provided Methods§

Source

fn get_type( self, name: impl Into<Il2CppString>, throw_on_error: impl Into<bool>, ignore_case: impl Into<bool>, ) -> SystemType

GetType(::unity::Il2CppString, bool, bool) overload

Source

fn get_module(self, name: impl Into<Il2CppString>) -> Module

GetModule(::unity::Il2CppString) overload

Source

fn get_modules(self, get_resource_modules: impl Into<bool>) -> Array<Module>

GetModules(bool) 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: IMonoAssembly> IMonoAssemblyMethods for __T

Available on crate feature system-reflection-monoassembly only.