pub trait IFrameworkClrBaseMethods: IFrameworkClrBase {
Show 20 methods
// Provided methods
fn get_type_info_from_type(self, t: impl Into<SystemType>) -> SystemType { ... }
fn get_add_method(self, ei: impl Into<EventInfo>) -> MethodInfo { ... }
fn get_constructors(
self,
type: impl Into<SystemType>,
) -> Array<ConstructorInfo> { ... }
fn get_events(self, type: impl Into<SystemType>) -> Array<EventInfo> { ... }
fn get_fields(self, type: impl Into<SystemType>) -> Array<FieldInfo> { ... }
fn get_generic_arguments(
self,
type: impl Into<SystemType>,
) -> Array<SystemType> { ... }
fn get_get_method(self, pi: impl Into<PropertyInfo>) -> MethodInfo { ... }
fn get_interfaces(self, t: impl Into<SystemType>) -> Array<SystemType> { ... }
fn get_method(
self,
type: impl Into<SystemType>,
name: impl Into<Il2CppString>,
) -> MethodInfo { ... }
fn get_methods(self, type: impl Into<SystemType>) -> Array<MethodInfo> { ... }
fn get_nested_types(self, type: impl Into<SystemType>) -> Array<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_remove_method(self, ei: impl Into<EventInfo>) -> MethodInfo { ... }
fn get_set_method(self, pi: impl Into<PropertyInfo>) -> MethodInfo { ... }
fn is_assignable_from(
self,
current: impl Into<SystemType>,
to_compare: impl Into<SystemType>,
) -> bool { ... }
fn is_instance_of_type(
self,
t: impl Into<SystemType>,
o: impl Into<Object>,
) -> bool { ... }
fn get_method_2(
self,
resources_type: impl Into<SystemType>,
name: impl Into<Il2CppString>,
types: impl Into<Array<SystemType>>,
) -> MethodInfo { ... }
fn get_assembly_types(self, asm: impl Into<Assembly>) -> Array<SystemType> { ... }
fn ctor(self) { ... }
}Provided Methods§
Sourcefn get_type_info_from_type(self, t: impl Into<SystemType>) -> SystemType
fn get_type_info_from_type(self, t: impl Into<SystemType>) -> SystemType
GetTypeInfoFromType(::unity::SystemType) 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_constructors(self, type: impl Into<SystemType>) -> Array<ConstructorInfo>
fn get_constructors(self, type: impl Into<SystemType>) -> Array<ConstructorInfo>
GetConstructors(::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_fields(self, type: impl Into<SystemType>) -> Array<FieldInfo>
fn get_fields(self, type: impl Into<SystemType>) -> Array<FieldInfo>
GetFields(::unity::SystemType) overload
Sourcefn get_generic_arguments(self, type: impl Into<SystemType>) -> Array<SystemType>
fn get_generic_arguments(self, type: impl Into<SystemType>) -> Array<SystemType>
GetGenericArguments(::unity::SystemType) 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_interfaces(self, t: impl Into<SystemType>) -> Array<SystemType>
fn get_interfaces(self, t: impl Into<SystemType>) -> Array<SystemType>
GetInterfaces(::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_methods(self, type: impl Into<SystemType>) -> Array<MethodInfo>
fn get_methods(self, type: impl Into<SystemType>) -> Array<MethodInfo>
GetMethods(::unity::SystemType) 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_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_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_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 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_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_method_2(
self,
resources_type: impl Into<SystemType>,
name: impl Into<Il2CppString>,
types: impl Into<Array<SystemType>>,
) -> MethodInfo
fn get_method_2( self, resources_type: impl Into<SystemType>, name: impl Into<Il2CppString>, types: impl Into<Array<SystemType>>, ) -> MethodInfo
GetMethod(::unity::SystemType, ::unity::Il2CppString, ::unity::Array<::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
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: IFrameworkClrBase> IFrameworkClrBaseMethods for __T
moon_sharp-interpreter-compatibility-frameworks-frameworkclrbase only.