Skip to main content

IFrameworkClrBaseMethods

Trait IFrameworkClrBaseMethods 

Source
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§

Source

fn get_type_info_from_type(self, t: impl Into<SystemType>) -> SystemType

GetTypeInfoFromType(::unity::SystemType) overload

Source

fn get_add_method(self, ei: impl Into<EventInfo>) -> MethodInfo

GetAddMethod(crate::system::reflection::eventinfo::EventInfo) overload

Source

fn get_constructors(self, type: impl Into<SystemType>) -> Array<ConstructorInfo>

GetConstructors(::unity::SystemType) overload

Source

fn get_events(self, type: impl Into<SystemType>) -> Array<EventInfo>

GetEvents(::unity::SystemType) overload

Source

fn get_fields(self, type: impl Into<SystemType>) -> Array<FieldInfo>

GetFields(::unity::SystemType) overload

Source

fn get_generic_arguments(self, type: impl Into<SystemType>) -> Array<SystemType>

GetGenericArguments(::unity::SystemType) overload

Source

fn get_get_method(self, pi: impl Into<PropertyInfo>) -> MethodInfo

GetGetMethod(crate::system::reflection::propertyinfo::PropertyInfo) overload

Source

fn get_interfaces(self, t: impl Into<SystemType>) -> Array<SystemType>

GetInterfaces(::unity::SystemType) overload

Source

fn get_method( self, type: impl Into<SystemType>, name: impl Into<Il2CppString>, ) -> MethodInfo

GetMethod(::unity::SystemType, ::unity::Il2CppString) overload

Source

fn get_methods(self, type: impl Into<SystemType>) -> Array<MethodInfo>

GetMethods(::unity::SystemType) overload

Source

fn get_nested_types(self, type: impl Into<SystemType>) -> Array<SystemType>

GetNestedTypes(::unity::SystemType) overload

Source

fn get_properties(self, type: impl Into<SystemType>) -> Array<PropertyInfo>

GetProperties(::unity::SystemType) overload

Source

fn get_property( self, type: impl Into<SystemType>, name: impl Into<Il2CppString>, ) -> PropertyInfo

GetProperty(::unity::SystemType, ::unity::Il2CppString) overload

Source

fn get_remove_method(self, ei: impl Into<EventInfo>) -> MethodInfo

GetRemoveMethod(crate::system::reflection::eventinfo::EventInfo) overload

Source

fn get_set_method(self, pi: impl Into<PropertyInfo>) -> MethodInfo

GetSetMethod(crate::system::reflection::propertyinfo::PropertyInfo) overload

Source

fn is_assignable_from( self, current: impl Into<SystemType>, to_compare: impl Into<SystemType>, ) -> bool

IsAssignableFrom(::unity::SystemType, ::unity::SystemType) overload

Source

fn is_instance_of_type( self, t: impl Into<SystemType>, o: impl Into<Object>, ) -> bool

IsInstanceOfType(::unity::SystemType, crate::system::object::Object) overload

Source

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

Source

fn get_assembly_types(self, asm: impl Into<Assembly>) -> Array<SystemType>

GetAssemblyTypes(crate::system::reflection::assembly::Assembly) overload

Source

fn ctor(self)

.ctor() 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: IFrameworkClrBase> IFrameworkClrBaseMethods for __T

Available on crate feature moon_sharp-interpreter-compatibility-frameworks-frameworkclrbase only.