Skip to main content

IFrameworkBaseMethods

Trait IFrameworkBaseMethods 

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

Source

fn string_contains_char( self, str: impl Into<Il2CppString>, chr: impl Into<u16>, ) -> bool

StringContainsChar(::unity::Il2CppString, u16) overload

Source

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

IsValueType(::unity::SystemType) overload

Source

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

GetAssembly(::unity::SystemType) overload

Source

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

GetBaseType(::unity::SystemType) overload

Source

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

IsGenericType(::unity::SystemType) overload

Source

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

IsGenericTypeDefinition(::unity::SystemType) overload

Source

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

IsEnum(::unity::SystemType) overload

Source

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

IsNestedPublic(::unity::SystemType) overload

Source

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

IsAbstract(::unity::SystemType) overload

Source

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

IsInterface(::unity::SystemType) overload

Source

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

GetInterfaces(::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_add_method(self, ei: impl Into<EventInfo>) -> MethodInfo

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

Source

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

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

Source

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

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

Source

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

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

Source

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

GetInterface(::unity::SystemType, ::unity::Il2CppString) 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_nested_types(self, type: impl Into<SystemType>) -> Array<SystemType>

GetNestedTypes(::unity::SystemType) overload

Source

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

GetEvents(::unity::SystemType) overload

Source

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

GetConstructors(::unity::SystemType) overload

Source

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

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

Source

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

GetMethods(::unity::SystemType) overload

Source

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

GetFields(::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_generic_arguments(self, t: impl Into<SystemType>) -> Array<SystemType>

GetGenericArguments(::unity::SystemType) 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_db_null(self, o: impl Into<Object>) -> bool

IsDbNull(crate::system::object::Object) overload

Source

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

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: IFrameworkBase> IFrameworkBaseMethods for __T

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