pub trait IPropertyInfoMethods: IPropertyInfo {
Show 22 methods
// Provided methods
fn get_attributes(self) -> PropertyAttributes { ... }
fn get_can_read(self) -> bool { ... }
fn get_can_write(self) -> bool { ... }
fn get_is_special_name(self) -> bool { ... }
fn get_member_type(self) -> MemberTypes { ... }
fn get_property_type(self) -> SystemType { ... }
fn ctor(self) { ... }
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) -> MethodInfo { ... }
fn get_set_method_2(self, non_public: impl Into<bool>) -> MethodInfo { ... }
fn get_value(
self,
obj: impl Into<Object>,
index: impl Into<Array<Object>>,
) -> Object { ... }
fn get_value_2(self, obj: impl Into<Object>) -> Object { ... }
fn set_value(
self,
obj: impl Into<Object>,
value: impl Into<Object>,
index: impl Into<Array<Object>>,
) { ... }
fn set_value_2(self, obj: impl Into<Object>, value: impl Into<Object>) { ... }
fn get_optional_custom_modifiers(self) -> Array<SystemType> { ... }
fn get_required_custom_modifiers(self) -> Array<SystemType> { ... }
fn get_constant_value(self) -> Object { ... }
fn get_raw_constant_value(self) -> Object { ... }
fn equals(self, obj: impl Into<Object>) -> bool { ... }
fn get_hash_code(self) -> i32 { ... }
}Provided Methods§
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_is_special_name(self) -> bool
fn get_is_special_name(self) -> bool
get_IsSpecialName() overload
Sourcefn get_member_type(self) -> MemberTypes
fn get_member_type(self) -> MemberTypes
get_MemberType() overload
Sourcefn get_property_type(self) -> SystemType
fn get_property_type(self) -> SystemType
get_PropertyType() 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) -> MethodInfo
fn get_set_method(self) -> MethodInfo
GetSetMethod() overload
Sourcefn get_set_method_2(self, non_public: impl Into<bool>) -> MethodInfo
fn get_set_method_2(self, non_public: impl Into<bool>) -> MethodInfo
GetSetMethod(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_value_2(self, obj: impl Into<Object>) -> Object
fn get_value_2(self, obj: impl Into<Object>) -> Object
GetValue(crate::system::object::Object) overload
Sourcefn set_value(
self,
obj: impl Into<Object>,
value: impl Into<Object>,
index: impl Into<Array<Object>>,
)
fn set_value( self, obj: impl Into<Object>, value: impl Into<Object>, index: impl Into<Array<Object>>, )
SetValue(crate::system::object::Object, crate::system::object::Object, ::unity::Array<crate::system::object::Object>) overload
Sourcefn set_value_2(self, obj: impl Into<Object>, value: impl Into<Object>)
fn set_value_2(self, obj: impl Into<Object>, value: impl Into<Object>)
SetValue(crate::system::object::Object, 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_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 get_hash_code(self) -> i32
fn get_hash_code(self) -> i32
GetHashCode() 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: IPropertyInfo> IPropertyInfoMethods for __T
system-reflection-propertyinfo only.