pub trait IModuleMethods: IModule {
// Provided methods
fn ctor(self) { ... }
fn to_string(self) -> Il2CppString { ... }
fn get_guid_internal(self) -> Il2CppString { ... }
fn equals(self, o: impl Into<Object>) -> bool { ... }
fn get_hash_code(self) -> i32 { ... }
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 { ... }
}Provided Methods§
Sourcefn to_string(self) -> Il2CppString
fn to_string(self) -> Il2CppString
ToString() overload
Sourcefn get_guid_internal(self) -> Il2CppString
fn get_guid_internal(self) -> Il2CppString
GetGuidInternal() overload
Sourcefn get_hash_code(self) -> i32
fn get_hash_code(self) -> i32
GetHashCode() overload
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
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: IModule> IModuleMethods for __T
Available on crate feature
system-reflection-module only.