pub trait IFrameworkBaseMethods: IFrameworkBase {
Show 31 methods
// Provided methods
fn string_contains_char(
self,
str: impl Into<Il2CppString>,
chr: impl Into<u16>,
) -> bool { ... }
fn is_value_type(self, t: impl Into<SystemType>) -> bool { ... }
fn get_assembly(self, t: impl Into<SystemType>) -> Assembly { ... }
fn get_base_type(self, t: impl Into<SystemType>) -> SystemType { ... }
fn is_generic_type(self, t: impl Into<SystemType>) -> bool { ... }
fn is_generic_type_definition(self, t: impl Into<SystemType>) -> bool { ... }
fn is_enum(self, t: impl Into<SystemType>) -> bool { ... }
fn is_nested_public(self, t: impl Into<SystemType>) -> bool { ... }
fn is_abstract(self, t: impl Into<SystemType>) -> bool { ... }
fn is_interface(self, t: impl Into<SystemType>) -> bool { ... }
fn get_interfaces(self, t: impl Into<SystemType>) -> Array<SystemType> { ... }
fn is_instance_of_type(
self,
t: impl Into<SystemType>,
o: impl Into<Object>,
) -> bool { ... }
fn get_add_method(self, ei: impl Into<EventInfo>) -> MethodInfo { ... }
fn get_remove_method(self, ei: impl Into<EventInfo>) -> MethodInfo { ... }
fn get_get_method(self, pi: impl Into<PropertyInfo>) -> MethodInfo { ... }
fn get_set_method(self, pi: impl Into<PropertyInfo>) -> MethodInfo { ... }
fn get_interface(
self,
type: impl Into<SystemType>,
name: impl Into<Il2CppString>,
) -> SystemType { ... }
fn get_properties(self, type: impl Into<SystemType>) -> Array<PropertyInfo> { ... }
fn get_property(
self,
type: impl Into<SystemType>,
name: impl Into<Il2CppString>,
) -> PropertyInfo { ... }
fn get_nested_types(self, type: impl Into<SystemType>) -> Array<SystemType> { ... }
fn get_events(self, type: impl Into<SystemType>) -> Array<EventInfo> { ... }
fn get_constructors(
self,
type: impl Into<SystemType>,
) -> Array<ConstructorInfo> { ... }
fn get_assembly_types(self, asm: impl Into<Assembly>) -> Array<SystemType> { ... }
fn get_methods(self, type: impl Into<SystemType>) -> Array<MethodInfo> { ... }
fn get_fields(self, t: impl Into<SystemType>) -> Array<FieldInfo> { ... }
fn get_method(
self,
type: impl Into<SystemType>,
name: impl Into<Il2CppString>,
) -> MethodInfo { ... }
fn get_generic_arguments(
self,
t: impl Into<SystemType>,
) -> Array<SystemType> { ... }
fn is_assignable_from(
self,
current: impl Into<SystemType>,
to_compare: impl Into<SystemType>,
) -> bool { ... }
fn is_db_null(self, o: impl Into<Object>) -> bool { ... }
fn get_method_2(
self,
resources_type: impl Into<SystemType>,
v: impl Into<Il2CppString>,
type: impl Into<Array<SystemType>>,
) -> MethodInfo { ... }
fn ctor(self) { ... }
}Provided Methods§
Sourcefn string_contains_char(
self,
str: impl Into<Il2CppString>,
chr: impl Into<u16>,
) -> bool
fn string_contains_char( self, str: impl Into<Il2CppString>, chr: impl Into<u16>, ) -> bool
StringContainsChar(::unity::Il2CppString, u16) overload
Sourcefn is_value_type(self, t: impl Into<SystemType>) -> bool
fn is_value_type(self, t: impl Into<SystemType>) -> bool
IsValueType(::unity::SystemType) overload
Sourcefn get_assembly(self, t: impl Into<SystemType>) -> Assembly
fn get_assembly(self, t: impl Into<SystemType>) -> Assembly
GetAssembly(::unity::SystemType) overload
Sourcefn get_base_type(self, t: impl Into<SystemType>) -> SystemType
fn get_base_type(self, t: impl Into<SystemType>) -> SystemType
GetBaseType(::unity::SystemType) overload
Sourcefn is_generic_type(self, t: impl Into<SystemType>) -> bool
fn is_generic_type(self, t: impl Into<SystemType>) -> bool
IsGenericType(::unity::SystemType) overload
Sourcefn is_generic_type_definition(self, t: impl Into<SystemType>) -> bool
fn is_generic_type_definition(self, t: impl Into<SystemType>) -> bool
IsGenericTypeDefinition(::unity::SystemType) overload
Sourcefn is_nested_public(self, t: impl Into<SystemType>) -> bool
fn is_nested_public(self, t: impl Into<SystemType>) -> bool
IsNestedPublic(::unity::SystemType) overload
Sourcefn is_abstract(self, t: impl Into<SystemType>) -> bool
fn is_abstract(self, t: impl Into<SystemType>) -> bool
IsAbstract(::unity::SystemType) overload
Sourcefn is_interface(self, t: impl Into<SystemType>) -> bool
fn is_interface(self, t: impl Into<SystemType>) -> bool
IsInterface(::unity::SystemType) overload
Sourcefn get_interfaces(self, t: impl Into<SystemType>) -> Array<SystemType>
fn get_interfaces(self, t: impl Into<SystemType>) -> Array<SystemType>
GetInterfaces(::unity::SystemType) overload
Sourcefn is_instance_of_type(
self,
t: impl Into<SystemType>,
o: impl Into<Object>,
) -> bool
fn is_instance_of_type( self, t: impl Into<SystemType>, o: impl Into<Object>, ) -> bool
IsInstanceOfType(::unity::SystemType, crate::system::object::Object) overload
Sourcefn get_add_method(self, ei: impl Into<EventInfo>) -> MethodInfo
fn get_add_method(self, ei: impl Into<EventInfo>) -> MethodInfo
GetAddMethod(crate::system::reflection::eventinfo::EventInfo) overload
Sourcefn get_remove_method(self, ei: impl Into<EventInfo>) -> MethodInfo
fn get_remove_method(self, ei: impl Into<EventInfo>) -> MethodInfo
GetRemoveMethod(crate::system::reflection::eventinfo::EventInfo) overload
Sourcefn get_get_method(self, pi: impl Into<PropertyInfo>) -> MethodInfo
fn get_get_method(self, pi: impl Into<PropertyInfo>) -> MethodInfo
GetGetMethod(crate::system::reflection::propertyinfo::PropertyInfo) overload
Sourcefn get_set_method(self, pi: impl Into<PropertyInfo>) -> MethodInfo
fn get_set_method(self, pi: impl Into<PropertyInfo>) -> MethodInfo
GetSetMethod(crate::system::reflection::propertyinfo::PropertyInfo) overload
Sourcefn get_interface(
self,
type: impl Into<SystemType>,
name: impl Into<Il2CppString>,
) -> SystemType
fn get_interface( self, type: impl Into<SystemType>, name: impl Into<Il2CppString>, ) -> SystemType
GetInterface(::unity::SystemType, ::unity::Il2CppString) overload
Sourcefn get_properties(self, type: impl Into<SystemType>) -> Array<PropertyInfo>
fn get_properties(self, type: impl Into<SystemType>) -> Array<PropertyInfo>
GetProperties(::unity::SystemType) overload
Sourcefn get_property(
self,
type: impl Into<SystemType>,
name: impl Into<Il2CppString>,
) -> PropertyInfo
fn get_property( self, type: impl Into<SystemType>, name: impl Into<Il2CppString>, ) -> PropertyInfo
GetProperty(::unity::SystemType, ::unity::Il2CppString) overload
Sourcefn get_nested_types(self, type: impl Into<SystemType>) -> Array<SystemType>
fn get_nested_types(self, type: impl Into<SystemType>) -> Array<SystemType>
GetNestedTypes(::unity::SystemType) overload
Sourcefn get_events(self, type: impl Into<SystemType>) -> Array<EventInfo>
fn get_events(self, type: impl Into<SystemType>) -> Array<EventInfo>
GetEvents(::unity::SystemType) overload
Sourcefn get_constructors(self, type: impl Into<SystemType>) -> Array<ConstructorInfo>
fn get_constructors(self, type: impl Into<SystemType>) -> Array<ConstructorInfo>
GetConstructors(::unity::SystemType) overload
Sourcefn get_assembly_types(self, asm: impl Into<Assembly>) -> Array<SystemType>
fn get_assembly_types(self, asm: impl Into<Assembly>) -> Array<SystemType>
GetAssemblyTypes(crate::system::reflection::assembly::Assembly) overload
Sourcefn get_methods(self, type: impl Into<SystemType>) -> Array<MethodInfo>
fn get_methods(self, type: impl Into<SystemType>) -> Array<MethodInfo>
GetMethods(::unity::SystemType) overload
Sourcefn get_fields(self, t: impl Into<SystemType>) -> Array<FieldInfo>
fn get_fields(self, t: impl Into<SystemType>) -> Array<FieldInfo>
GetFields(::unity::SystemType) overload
Sourcefn get_method(
self,
type: impl Into<SystemType>,
name: impl Into<Il2CppString>,
) -> MethodInfo
fn get_method( self, type: impl Into<SystemType>, name: impl Into<Il2CppString>, ) -> MethodInfo
GetMethod(::unity::SystemType, ::unity::Il2CppString) overload
Sourcefn get_generic_arguments(self, t: impl Into<SystemType>) -> Array<SystemType>
fn get_generic_arguments(self, t: impl Into<SystemType>) -> Array<SystemType>
GetGenericArguments(::unity::SystemType) overload
Sourcefn is_assignable_from(
self,
current: impl Into<SystemType>,
to_compare: impl Into<SystemType>,
) -> bool
fn is_assignable_from( self, current: impl Into<SystemType>, to_compare: impl Into<SystemType>, ) -> bool
IsAssignableFrom(::unity::SystemType, ::unity::SystemType) overload
Sourcefn is_db_null(self, o: impl Into<Object>) -> bool
fn is_db_null(self, o: impl Into<Object>) -> bool
IsDbNull(crate::system::object::Object) overload
Sourcefn get_method_2(
self,
resources_type: impl Into<SystemType>,
v: impl Into<Il2CppString>,
type: impl Into<Array<SystemType>>,
) -> MethodInfo
fn get_method_2( self, resources_type: impl Into<SystemType>, v: impl Into<Il2CppString>, type: impl Into<Array<SystemType>>, ) -> MethodInfo
GetMethod(::unity::SystemType, ::unity::Il2CppString, ::unity::Array<::unity::SystemType>) 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: IFrameworkBase> IFrameworkBaseMethods for __T
moon_sharp-interpreter-compatibility-frameworks-frameworkbase only.