pub trait IMonoModuleMethods: IMonoModule {
// Provided methods
fn get_assembly(self) -> Assembly { ... }
fn get_scope_name(self) -> Il2CppString { ... }
fn is_resource(self) -> bool { ... }
fn get_custom_attributes(
self,
attribute_type: impl Into<SystemType>,
inherit: impl Into<bool>,
) -> Array<Object> { ... }
fn is_defined(
self,
attribute_type: impl Into<SystemType>,
inherit: impl Into<bool>,
) -> bool { ... }
fn get_runtime_assembly(self) -> RuntimeAssembly { ... }
fn ctor(self) { ... }
}Provided Methods§
Sourcefn get_assembly(self) -> Assembly
fn get_assembly(self) -> Assembly
get_Assembly() overload
Sourcefn get_scope_name(self) -> Il2CppString
fn get_scope_name(self) -> Il2CppString
get_ScopeName() overload
Sourcefn is_resource(self) -> bool
fn is_resource(self) -> bool
IsResource() overload
Sourcefn get_custom_attributes(
self,
attribute_type: impl Into<SystemType>,
inherit: impl Into<bool>,
) -> Array<Object>
fn get_custom_attributes( self, attribute_type: impl Into<SystemType>, inherit: impl Into<bool>, ) -> Array<Object>
GetCustomAttributes(::unity::SystemType, bool) overload
Sourcefn is_defined(
self,
attribute_type: impl Into<SystemType>,
inherit: impl Into<bool>,
) -> bool
fn is_defined( self, attribute_type: impl Into<SystemType>, inherit: impl Into<bool>, ) -> bool
IsDefined(::unity::SystemType, bool) overload
Sourcefn get_runtime_assembly(self) -> RuntimeAssembly
fn get_runtime_assembly(self) -> RuntimeAssembly
GetRuntimeAssembly() 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: IMonoModule> IMonoModuleMethods for __T
Available on crate feature
system-reflection-monomodule only.