pub trait IMonoPropertyMethods: IMonoProperty {
Show 22 methods
// Provided methods
fn cache_property_info(self, flags: impl Into<PInfo>) { ... }
fn get_attributes(self) -> PropertyAttributes { ... }
fn get_can_read(self) -> bool { ... }
fn get_can_write(self) -> bool { ... }
fn get_property_type(self) -> SystemType { ... }
fn get_reflected_type(self) -> SystemType { ... }
fn get_declaring_type(self) -> SystemType { ... }
fn get_name(self) -> Il2CppString { ... }
fn get_accessors(self, non_public: impl Into<bool>) -> Array<MethodInfo> { ... }
fn get_get_method(self, non_public: impl Into<bool>) -> MethodInfo { ... }
fn get_index_parameters(self) -> Array<ParameterInfo> { ... }
fn get_set_method(self, non_public: impl Into<bool>) -> MethodInfo { ... }
fn get_constant_value(self) -> Object { ... }
fn get_raw_constant_value(self) -> Object { ... }
fn is_defined(
self,
attribute_type: impl Into<SystemType>,
inherit: impl Into<bool>,
) -> bool { ... }
fn get_custom_attributes(self, inherit: impl Into<bool>) -> Array<Object> { ... }
fn get_custom_attributes_2(
self,
attribute_type: impl Into<SystemType>,
inherit: impl Into<bool>,
) -> Array<Object> { ... }
fn get_value(
self,
obj: impl Into<Object>,
index: impl Into<Array<Object>>,
) -> Object { ... }
fn get_optional_custom_modifiers(self) -> Array<SystemType> { ... }
fn get_required_custom_modifiers(self) -> Array<SystemType> { ... }
fn get_custom_attributes_data(
self,
) -> IList_1_Interface<CustomAttributeData> { ... }
fn ctor(self) { ... }
}Provided Methods§
Sourcefn cache_property_info(self, flags: impl Into<PInfo>)
fn cache_property_info(self, flags: impl Into<PInfo>)
CachePropertyInfo(crate::system::reflection::pinfo::PInfo) overload
Sourcefn get_attributes(self) -> PropertyAttributes
fn get_attributes(self) -> PropertyAttributes
get_Attributes() overload
Sourcefn get_can_read(self) -> bool
fn get_can_read(self) -> bool
get_CanRead() overload
Sourcefn get_can_write(self) -> bool
fn get_can_write(self) -> bool
get_CanWrite() overload
Sourcefn get_property_type(self) -> SystemType
fn get_property_type(self) -> SystemType
get_PropertyType() overload
Sourcefn get_reflected_type(self) -> SystemType
fn get_reflected_type(self) -> SystemType
get_ReflectedType() overload
Sourcefn get_declaring_type(self) -> SystemType
fn get_declaring_type(self) -> SystemType
get_DeclaringType() overload
Sourcefn get_name(self) -> Il2CppString
fn get_name(self) -> Il2CppString
get_Name() overload
Sourcefn get_accessors(self, non_public: impl Into<bool>) -> Array<MethodInfo>
fn get_accessors(self, non_public: impl Into<bool>) -> Array<MethodInfo>
GetAccessors(bool) overload
Sourcefn get_get_method(self, non_public: impl Into<bool>) -> MethodInfo
fn get_get_method(self, non_public: impl Into<bool>) -> MethodInfo
GetGetMethod(bool) overload
Sourcefn get_index_parameters(self) -> Array<ParameterInfo>
fn get_index_parameters(self) -> Array<ParameterInfo>
GetIndexParameters() overload
Sourcefn get_set_method(self, non_public: impl Into<bool>) -> MethodInfo
fn get_set_method(self, non_public: impl Into<bool>) -> MethodInfo
GetSetMethod(bool) overload
Sourcefn get_constant_value(self) -> Object
fn get_constant_value(self) -> Object
GetConstantValue() overload
Sourcefn get_raw_constant_value(self) -> Object
fn get_raw_constant_value(self) -> Object
GetRawConstantValue() 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
Sourcefn get_custom_attributes(self, inherit: impl Into<bool>) -> Array<Object>
fn get_custom_attributes(self, inherit: impl Into<bool>) -> Array<Object>
GetCustomAttributes(bool) overload
Sourcefn get_custom_attributes_2(
self,
attribute_type: impl Into<SystemType>,
inherit: impl Into<bool>,
) -> Array<Object>
fn get_custom_attributes_2( self, attribute_type: impl Into<SystemType>, inherit: impl Into<bool>, ) -> Array<Object>
GetCustomAttributes(::unity::SystemType, bool) overload
Sourcefn get_value(
self,
obj: impl Into<Object>,
index: impl Into<Array<Object>>,
) -> Object
fn get_value( self, obj: impl Into<Object>, index: impl Into<Array<Object>>, ) -> Object
GetValue(crate::system::object::Object, ::unity::Array<crate::system::object::Object>) overload
Sourcefn get_optional_custom_modifiers(self) -> Array<SystemType>
fn get_optional_custom_modifiers(self) -> Array<SystemType>
GetOptionalCustomModifiers() overload
Sourcefn get_required_custom_modifiers(self) -> Array<SystemType>
fn get_required_custom_modifiers(self) -> Array<SystemType>
GetRequiredCustomModifiers() overload
Sourcefn get_custom_attributes_data(self) -> IList_1_Interface<CustomAttributeData>
fn get_custom_attributes_data(self) -> IList_1_Interface<CustomAttributeData>
GetCustomAttributesData() 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: IMonoProperty> IMonoPropertyMethods for __T
system-reflection-monoproperty only.