Skip to main content

IParameterInfoMethods

Trait IParameterInfoMethods 

Source
pub trait IParameterInfoMethods: IParameterInfo {
Show 15 methods // Provided methods fn ctor(self) { ... } fn to_string(self) -> Il2CppString { ... } fn get_parameter_type(self) -> SystemType { ... } fn get_attributes(self) -> ParameterAttributes { ... } fn get_is_in(self) -> bool { ... } fn get_is_optional(self) -> bool { ... } fn get_is_out(self) -> bool { ... } fn get_is_retval(self) -> bool { ... } fn get_name(self) -> Il2CppString { ... } fn get_position(self) -> i32 { ... } fn get_pseudo_custom_attributes(self) -> Array<Object> { ... } fn get_default_value_impl(self) -> Object { ... } fn get_default_value(self) -> Object { ... } fn get_custom_attributes( self, attribute_type: impl Into<SystemType>, inherit: impl Into<bool>, ) -> Array<Object> { ... } fn is_defined( self, attribute_type: impl Into<SystemType>, inherit: impl Into<bool>, ) -> bool { ... }
}

Provided Methods§

Source

fn ctor(self)

.ctor() overload

Source

fn to_string(self) -> Il2CppString

ToString() overload

Source

fn get_parameter_type(self) -> SystemType

get_ParameterType() overload

Source

fn get_attributes(self) -> ParameterAttributes

get_Attributes() overload

Source

fn get_is_in(self) -> bool

get_IsIn() overload

Source

fn get_is_optional(self) -> bool

get_IsOptional() overload

Source

fn get_is_out(self) -> bool

get_IsOut() overload

Source

fn get_is_retval(self) -> bool

get_IsRetval() overload

Source

fn get_name(self) -> Il2CppString

get_Name() overload

Source

fn get_position(self) -> i32

get_Position() overload

Source

fn get_pseudo_custom_attributes(self) -> Array<Object>

GetPseudoCustomAttributes() overload

Source

fn get_default_value_impl(self) -> Object

GetDefaultValueImpl() overload

Source

fn get_default_value(self) -> Object

get_DefaultValue() overload

Source

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

GetCustomAttributes(::unity::SystemType, 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: IParameterInfo> IParameterInfoMethods for __T

Available on crate feature system-reflection-parameterinfo only.