Skip to main content

IPropertyBuilderMethods

Trait IPropertyBuilderMethods 

Source
pub trait IPropertyBuilderMethods: IPropertyBuilder {
Show 14 methods // Provided methods fn get_attributes(self) -> PropertyAttributes { ... } fn get_can_read(self) -> bool { ... } fn get_can_write(self) -> bool { ... } fn get_declaring_type(self) -> SystemType { ... } fn get_name(self) -> Il2CppString { ... } fn get_property_type(self) -> SystemType { ... } fn get_index_parameters(self) -> Array<ParameterInfo> { ... } fn get_reflected_type(self) -> SystemType { ... } fn get_accessors(self, non_public: impl Into<bool>) -> Array<MethodInfo> { ... } 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_get_method(self, non_public: impl Into<bool>) -> MethodInfo { ... } fn get_set_method(self, non_public: impl Into<bool>) -> MethodInfo { ... } fn is_defined( self, attribute_type: impl Into<SystemType>, inherit: impl Into<bool>, ) -> bool { ... }
}

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_declaring_type(self) -> SystemType

get_DeclaringType() overload

Source

fn get_name(self) -> Il2CppString

get_Name() overload

Source

fn get_property_type(self) -> SystemType

get_PropertyType() overload

Source

fn get_index_parameters(self) -> Array<ParameterInfo>

GetIndexParameters() overload

Source

fn get_reflected_type(self) -> SystemType

get_ReflectedType() overload

Source

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

GetAccessors(bool) overload

Source

fn get_custom_attributes(self, inherit: impl Into<bool>) -> Array<Object>

GetCustomAttributes(bool) overload

Source

fn get_custom_attributes_2( self, attribute_type: impl Into<SystemType>, inherit: impl Into<bool>, ) -> Array<Object>

GetCustomAttributes(::unity::SystemType, bool) overload

Source

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

GetGetMethod(bool) overload

Source

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

GetSetMethod(bool) overload

Source

fn is_defined( self, attribute_type: impl Into<SystemType>, inherit: impl Into<bool>, ) -> bool

IsDefined(::unity::SystemType, bool) 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: IPropertyBuilder> IPropertyBuilderMethods for __T

Available on crate feature system-reflection-emit-propertybuilder only.