Skip to main content

IAssemblyMethods

Trait IAssemblyMethods 

Source
pub trait IAssemblyMethods: IAssembly {
Show 28 methods // Provided methods fn ctor(self) { ... } fn get_code_base(self, escaped: impl Into<bool>) -> Il2CppString { ... } fn get_fullname(self) -> Il2CppString { ... } fn get_location(self) -> Il2CppString { ... } fn get_code_base_2(self) -> Il2CppString { ... } fn get_full_name(self) -> Il2CppString { ... } fn is_defined( self, attribute_type: impl Into<SystemType>, inherit: impl Into<bool>, ) -> bool { ... } fn get_custom_attributes( self, attribute_type: impl Into<SystemType>, inherit: impl Into<bool>, ) -> Array<Object> { ... } fn get_manifest_resource_internal( self, name: impl Into<Il2CppString>, ) -> (IntPtr, i32, Module) { ... } fn get_manifest_resource_stream( self, name: impl Into<Il2CppString>, ) -> Stream { ... } fn get_types(self, exported_only: impl Into<bool>) -> Array<SystemType> { ... } fn get_types_2(self) -> Array<SystemType> { ... } fn get_type( self, name: impl Into<Il2CppString>, throw_on_error: impl Into<bool>, ) -> SystemType { ... } fn get_type_2(self, name: impl Into<Il2CppString>) -> SystemType { ... } fn internal_get_type( self, module: impl Into<Module>, name: impl Into<Il2CppString>, throw_on_error: impl Into<bool>, ignore_case: impl Into<bool>, ) -> SystemType { ... } fn get_name(self, copied_name: impl Into<bool>) -> AssemblyName { ... } fn get_name_2(self) -> AssemblyName { ... } fn to_string(self) -> Il2CppString { ... } fn get_modules_internal(self) -> Array<Module> { ... } fn get_manifest_resource_names(self) -> Array<Il2CppString> { ... } fn get_manifest_resource_info_internal( self, name: impl Into<Il2CppString>, info: impl Into<ManifestResourceInfo>, ) -> bool { ... } fn get_manifest_resource_info( self, resource_name: impl Into<Il2CppString>, ) -> ManifestResourceInfo { ... } fn get_hash_code(self) -> i32 { ... } fn equals(self, o: impl Into<Object>) -> bool { ... } fn get_is_fully_trusted(self) -> bool { ... } fn get_type_3( 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> { ... }
}

Provided Methods§

Source

fn ctor(self)

.ctor() overload

Source

fn get_code_base(self, escaped: impl Into<bool>) -> Il2CppString

get_code_base(bool) overload

Source

fn get_fullname(self) -> Il2CppString

get_fullname() overload

Source

fn get_location(self) -> Il2CppString

get_location() overload

Source

fn get_code_base_2(self) -> Il2CppString

get_CodeBase() overload

Source

fn get_full_name(self) -> Il2CppString

get_FullName() overload

Source

fn is_defined( self, attribute_type: impl Into<SystemType>, inherit: impl Into<bool>, ) -> bool

IsDefined(::unity::SystemType, bool) overload

Source

fn get_custom_attributes( self, attribute_type: impl Into<SystemType>, inherit: impl Into<bool>, ) -> Array<Object>

GetCustomAttributes(::unity::SystemType, bool) overload

Source

fn get_manifest_resource_internal( self, name: impl Into<Il2CppString>, ) -> (IntPtr, i32, Module)

GetManifestResourceInternal(::unity::Il2CppString, *muti32, *mutcrate::system::reflection::module::Module) overload

Source

fn get_manifest_resource_stream(self, name: impl Into<Il2CppString>) -> Stream

GetManifestResourceStream(::unity::Il2CppString) overload

Source

fn get_types(self, exported_only: impl Into<bool>) -> Array<SystemType>

GetTypes(bool) overload

Source

fn get_types_2(self) -> Array<SystemType>

GetTypes() overload

Source

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

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

Source

fn get_type_2(self, name: impl Into<Il2CppString>) -> SystemType

GetType(::unity::Il2CppString) overload

Source

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

InternalGetType(crate::system::reflection::module::Module, ::unity::Il2CppString, bool, bool) overload

Source

fn get_name(self, copied_name: impl Into<bool>) -> AssemblyName

GetName(bool) overload

Source

fn get_name_2(self) -> AssemblyName

GetName() overload

Source

fn to_string(self) -> Il2CppString

ToString() overload

Source

fn get_modules_internal(self) -> Array<Module>

GetModulesInternal() overload

Source

fn get_manifest_resource_names(self) -> Array<Il2CppString>

GetManifestResourceNames() overload

Source

fn get_manifest_resource_info_internal( self, name: impl Into<Il2CppString>, info: impl Into<ManifestResourceInfo>, ) -> bool

GetManifestResourceInfoInternal(::unity::Il2CppString, crate::system::reflection::manifestresourceinfo::ManifestResourceInfo) overload

Source

fn get_manifest_resource_info( self, resource_name: impl Into<Il2CppString>, ) -> ManifestResourceInfo

GetManifestResourceInfo(::unity::Il2CppString) overload

Source

fn get_hash_code(self) -> i32

GetHashCode() overload

Source

fn equals(self, o: impl Into<Object>) -> bool

Equals(crate::system::object::Object) overload

Source

fn get_is_fully_trusted(self) -> bool

get_IsFullyTrusted() overload

Source

fn get_type_3( 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

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: IAssembly> IAssemblyMethods for __T

Available on crate feature system-reflection-assembly only.