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§
Sourcefn get_code_base(self, escaped: impl Into<bool>) -> Il2CppString
fn get_code_base(self, escaped: impl Into<bool>) -> Il2CppString
get_code_base(bool) overload
Sourcefn get_fullname(self) -> Il2CppString
fn get_fullname(self) -> Il2CppString
get_fullname() overload
Sourcefn get_location(self) -> Il2CppString
fn get_location(self) -> Il2CppString
get_location() overload
Sourcefn get_code_base_2(self) -> Il2CppString
fn get_code_base_2(self) -> Il2CppString
get_CodeBase() overload
Sourcefn get_full_name(self) -> Il2CppString
fn get_full_name(self) -> Il2CppString
get_FullName() 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_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 get_manifest_resource_internal(
self,
name: impl Into<Il2CppString>,
) -> (IntPtr, i32, Module)
fn get_manifest_resource_internal( self, name: impl Into<Il2CppString>, ) -> (IntPtr, i32, Module)
GetManifestResourceInternal(::unity::Il2CppString, *muti32, *mutcrate::system::reflection::module::Module) overload
Sourcefn get_manifest_resource_stream(self, name: impl Into<Il2CppString>) -> Stream
fn get_manifest_resource_stream(self, name: impl Into<Il2CppString>) -> Stream
GetManifestResourceStream(::unity::Il2CppString) overload
Sourcefn get_types(self, exported_only: impl Into<bool>) -> Array<SystemType>
fn get_types(self, exported_only: impl Into<bool>) -> Array<SystemType>
GetTypes(bool) overload
Sourcefn get_types_2(self) -> Array<SystemType>
fn get_types_2(self) -> Array<SystemType>
GetTypes() overload
Sourcefn get_type(
self,
name: impl Into<Il2CppString>,
throw_on_error: impl Into<bool>,
) -> SystemType
fn get_type( self, name: impl Into<Il2CppString>, throw_on_error: impl Into<bool>, ) -> SystemType
GetType(::unity::Il2CppString, bool) overload
Sourcefn get_type_2(self, name: impl Into<Il2CppString>) -> SystemType
fn get_type_2(self, name: impl Into<Il2CppString>) -> SystemType
GetType(::unity::Il2CppString) overload
Sourcefn 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 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
Sourcefn get_name(self, copied_name: impl Into<bool>) -> AssemblyName
fn get_name(self, copied_name: impl Into<bool>) -> AssemblyName
GetName(bool) overload
Sourcefn get_name_2(self) -> AssemblyName
fn get_name_2(self) -> AssemblyName
GetName() overload
Sourcefn to_string(self) -> Il2CppString
fn to_string(self) -> Il2CppString
ToString() overload
Sourcefn get_modules_internal(self) -> Array<Module>
fn get_modules_internal(self) -> Array<Module>
GetModulesInternal() overload
Sourcefn get_manifest_resource_names(self) -> Array<Il2CppString>
fn get_manifest_resource_names(self) -> Array<Il2CppString>
GetManifestResourceNames() overload
Sourcefn get_manifest_resource_info_internal(
self,
name: impl Into<Il2CppString>,
info: impl Into<ManifestResourceInfo>,
) -> bool
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
Sourcefn get_manifest_resource_info(
self,
resource_name: impl Into<Il2CppString>,
) -> ManifestResourceInfo
fn get_manifest_resource_info( self, resource_name: impl Into<Il2CppString>, ) -> ManifestResourceInfo
GetManifestResourceInfo(::unity::Il2CppString) overload
Sourcefn get_hash_code(self) -> i32
fn get_hash_code(self) -> i32
GetHashCode() overload
Sourcefn get_is_fully_trusted(self) -> bool
fn get_is_fully_trusted(self) -> bool
get_IsFullyTrusted() overload
Sourcefn get_type_3(
self,
name: impl Into<Il2CppString>,
throw_on_error: impl Into<bool>,
ignore_case: impl Into<bool>,
) -> SystemType
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
Sourcefn get_module(self, name: impl Into<Il2CppString>) -> Module
fn get_module(self, name: impl Into<Il2CppString>) -> Module
GetModule(::unity::Il2CppString) overload
Sourcefn get_modules(self, get_resource_modules: impl Into<bool>) -> Array<Module>
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§
impl<__T: IAssembly> IAssemblyMethods for __T
system-reflection-assembly only.