Skip to main content

IPropertyInfoMethods

Trait IPropertyInfoMethods 

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

Source

fn get_attributes(self) -> PropertyAttributes

get_Attributes() overload

Source

fn get_can_read(self) -> bool

get_CanRead() overload

Source

fn get_can_write(self) -> bool

get_CanWrite() overload

Source

fn get_is_special_name(self) -> bool

get_IsSpecialName() overload

Source

fn get_member_type(self) -> MemberTypes

get_MemberType() overload

Source

fn get_property_type(self) -> SystemType

get_PropertyType() overload

Source

fn ctor(self)

.ctor() overload

Source

fn get_accessors(self, non_public: impl Into<bool>) -> Array<MethodInfo>

GetAccessors(bool) overload

Source

fn get_get_method(self, non_public: impl Into<bool>) -> MethodInfo

GetGetMethod(bool) overload

Source

fn get_index_parameters(self) -> Array<ParameterInfo>

GetIndexParameters() overload

Source

fn get_set_method(self) -> MethodInfo

GetSetMethod() overload

Source

fn get_set_method_2(self, non_public: impl Into<bool>) -> MethodInfo

GetSetMethod(bool) overload

Source

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

Source

fn get_value_2(self, obj: impl Into<Object>) -> Object

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

Source

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

Source

fn set_value_2(self, obj: impl Into<Object>, value: impl Into<Object>)

SetValue(crate::system::object::Object, crate::system::object::Object) overload

Source

fn get_optional_custom_modifiers(self) -> Array<SystemType>

GetOptionalCustomModifiers() overload

Source

fn get_required_custom_modifiers(self) -> Array<SystemType>

GetRequiredCustomModifiers() overload

Source

fn get_constant_value(self) -> Object

GetConstantValue() overload

Source

fn get_raw_constant_value(self) -> Object

GetRawConstantValue() overload

Source

fn equals(self, obj: impl Into<Object>) -> bool

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

Source

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§

Source§

impl<__T: IPropertyInfo> IPropertyInfoMethods for __T

Available on crate feature system-reflection-propertyinfo only.